I am putting messages on a queue with a scheduled delivery time. In one use case I 
need to remove a message that has been scheduled, but not delivered.

I know that I can create a message selector with the JMSMessageID to select a 
particular message off -- but that does not seem to work for pending messages.

After looking at the src, it looks like receive() does not look at any pending 
messages, which does make complete sense (message is not actually on the queue).

So, is there an undocumented way to peek in to the scheduled stack of messages on a 
queue and receive them?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849860#3849860

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849860


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to