selectors are not working for durable subscriptions
Leonardo Kenji Shikida <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
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=lnk&kid3432&bid#0486&dat1642