Firstly, I can't tell what messaging system you're using (could be JBoss MQ or
JBoss Messaging), but just because a message is still in a queue after TTL does
not mean TTL is not honoured.
The JMS spec just says that messages should not be delivered after TTL is
exceeded. It does not require messages to be actively removed from queues
before delivery.
If you tried to consume that message, you'd find it would get expired at the
point of delivery and you wouldn't receive it, thus honouring TTL.
Some more advanced messaging systems, like HornetQ http://hornetq.org do have
active expiry of messages in queue *before* delivery but JBoss Messaging /
JBoss MQ do not.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268891#4268891
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268891
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user