Hi.
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.
Manu
http://www.nabble.com/file/6634/ExpirationNotWorkingExample.java
ExpirationNotWorkingExample.java
--
View this message in context: http://www.nabble.com/message-listener-receives-expired-message-tf3253161s2354.html#a9043233
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
|