activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vishal3007 <VISHAL3...@GMAIL.COM>
Subject Re: ActiveMQ Artemis: failure cause of DLQ messages
Date Thu, 22 Jun 2017 03:20:13 GMT
As you are reading the message in a transaction, then rolling back the
transaction will send the message to the original queue which will
eventually move the message to the DLQ after configured attempts.
if you don't want to move the message to DLQ, then the only way which I can
see that don't configure the DLQ. The message will be discarded after
configured attempts.

On Wed, Jun 21, 2017 at 6:24 PM, adaprior [via ActiveMQ] <> wrote:

> Thanks, Vishal. I am not sure how to handle this situation -> I am
> currently listening messages from active mq with the transaction and on bad
> data in the message body, rollback of DB has to be done but the message
> should be sent to a new queue in the same transaction. throwing an
> exception sends back the message to DLQ and rollback of DB is done, No
> matter how many times this message is sent back to original queue message
> will be back to DLQ.
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> failure-cause-of-DLQ-messages-tp4726423p4727640.html
> To unsubscribe from ActiveMQ Artemis: failure cause of DLQ messages, click
> here
> <>
> .
> <>

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message