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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...