activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZhongGuan <guanzh.em...@gmail.com>
Subject behavior of MDB with BMT and ActiveMQ
Date Mon, 02 Dec 2013 18:33:21 GMT
Hi,
I am using TomEE and ActiveMQ.
I have a MDB using BMT as a consumer of one queue, if I throw a
runtimeException in onMessage method, ActiveMQ does not redeliver the
message, and does not send it to DLQ ,
the message is just deleted. I do not know if this action is right.
If it is right, How can I keep the failure message in the Queue or send it
to DLQ.

BTW,
If I use MDB with CMT, when I throw a rumtimeException,ActiveMQ will
redeliver the message
for about 5 times, and at last the message will be sent to DLQ.

thanks.



--
View this message in context: http://activemq.2283324.n4.nabble.com/behavior-of-MDB-with-BMT-and-ActiveMQ-tp4675003.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message