activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patrick.houri...@mdsuk.com
Subject ActiveMq Expired Messages
Date Thu, 21 Sep 2006 13:27:28 GMT
Hi,

I have a sample app that sends a message to a queue, that has 
producer.setTimeToLive(5000);

I take this to mean that any message sent via this producer will expire 
after 5 seconds

When I attach a consumer and try to consume after ay 10 seconds the 
messages are delivered. Why is this happening?

With IBM MQ the messages are not delivered as they are expired.

rgds
--ph
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message