activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manuv <>
Subject message listener receives expired message
Date Mon, 19 Feb 2007 14:41:18 GMT


We have a problem with the expiration feature.

One sender sends a message to a queue, with time to live of 1 seconds. After
2 seconds, a message listener is registered for that queue ..... and it
receives the message.

If we do the same but instead of using a message listener, the blocking
receive() method is used, then everything works properly.

We attach a class which demonstrate this misbehaviour.

We are using Active MQ 4.1.0 broker.

Any hint?

Thanks in advance.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message