[jboss-user] [JBoss Messaging Users] - Re: TTL on Message Producer Not Honored

timfox do-not-reply at jboss.com
Thu Dec 3 19:26:43 EST 2009


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=bb&op=viewtopic&p=4268891#4268891

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



More information about the jboss-user mailing list