activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Shannon <christopher.l.shan...@gmail.com>
Subject Re: Dead Letter Queue and detect message
Date Tue, 10 Nov 2015 17:31:21 GMT
Yes, you can listen to the advisory messages for DLQ'd messages.  An
advisory will be sent when a message is moved to DLQ and the advisory will
contain a copy of the message.

The advisory topics to listen on are ActiveMQ.Advisory.MessageDLQd.Queue
and ActiveMQ.Advisory.MessageDLQd.Topic

Take a look at http://activemq.apache.org/advisory-message.html for more
info on configuring this.



On Tue, Nov 10, 2015 at 3:02 AM, Michele <michele.mazzilli@finconsgroup.com>
wrote:

> Hi everyone,
>
> I just started to work with ActiveMQ, Camel and Enterprise Integration
> Pattern.
>
> To ensure reliability I configured my ActiveMQ Broker under Jms Transaction
> with redelivery policy inside of message routing with Apache Camel.
> Redelivery policy works fine, indeed after 3 attempts with a certain delay,
> messages are moved to ActiveMQ.DLQ.
>
> Is there a way to detect when message is moved in DLQ? Is possible to
> retrieve a copy of message to send to Aggregator reporting that an error
> has
> occurred related to original message?
>
> Thanks in advance.
>
> Kind Regards.
>
> Michele
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Dead-Letter-Queue-and-detect-message-tp4703799.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message