[jboss-user] [Messaging, JMS & JBossMQ] - Re: Msg expiration doesn't work with a msg listener on a ses

adrian@jboss.org do-not-reply at jboss.com
Wed Apr 18 08:22:22 EDT 2007


You have not been listening to a word I've been saying.


  |                // block consuming for 5 seconds
  |                Thread.sleep(5000);
  |                processed++;
  | 

If you do this, it is a not a problem for the JMS Server.

The JMS Server has given you a message when it wasn't expired.
It is your fault that you did not process it until after it expired.

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

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



More information about the jboss-user mailing list