activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Chao <>
Subject Re: Behavior when a message expires while it is processing
Date Wed, 16 Apr 2014 18:45:52 GMT
So I ran testJMSExpirationAsn1 and got the following NPE.


I changed consumer.receive(3000) to consumer.receive(9000) to fix the NPE.
The fix is here

The JUnit still fails because it only expects 1 message in the DLQs.

>From my understanding of ActiveMQ, which is limited, the correct behavior is
2 messages in the DLQs. Since they are separate messages ActiveMQ puts them
in the DLQs since they are both expired.  Or is my understanding incorrect?

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

View raw message