RE: selectors are not working for durable subscriptions
"Tim Anderson" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Works for me. Whats the value of JMSPriority in the messages you are receiving? -Tim > -----Original Message----- > From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf > Of Leonardo Kenji Shikida > Sent: Tuesday, 7 February 2006 10:50 PM > To: [email protected] > Subject: [openjms-user] selectors are not working for durable > subscriptions > > Just try to implement a durable subscription using selectors > as showed in http://www.devx.com/Java/Article/21261/, which says > > >>>>>>>> > (...) > You can also filter using message priority. For example, you > can change the filter query to: > > String filterQuery = "JMSPriority > 6"; > topicSubscriber = > topicSession.createSubscriber(topic, > filterQuery, false); > > > Now when you run the client application, Figure 3 shows that > the application consumes only messages with a JMSPriority > higher than 6. Everything else was filtered. > (...) > >>>>>>>> > > which seems not to be true, because all messages are consumed > and removed from the openjms.messages table > > another guy asked the same thing in october and get no answers > > http://thread.gmane.org/gmane.comp.java.openjms.user/1384 > > is it an openjms bug? or am I getting something wrong? > > what I would really like is some kind of topic where I could > publish messages to several consumers that will consume > selectively, using JMS selectors, and leaving the other > messages there for the other consumers. Is it possible using JMS? > > regards > > Kenji > _______________________ > http://kenjiria.blogspot.com > http://gaitabh.blogspot.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files for problems? Stop! Download the new AJAX > search engine that makes searching your log files as easy as > surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > openjms-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openjms-user > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642