If you are willing to do some light development you can put in some specific 
code to do just that logging, or you could enable the logging plugin but you 
will get more than what you want.

take a look at http://activemq.apache.org/developing-plugins.html 
<http://activemq.apache.org/developing-plugins.html>
the logging plugin code is at: 
https://github.com/apache/activemq/blob/master/activemq-broker/src/main/java/org/apache/activemq/broker/util/LoggingBrokerPlugin.java
 
<https://github.com/apache/activemq/blob/master/activemq-broker/src/main/java/org/apache/activemq/broker/util/LoggingBrokerPlugin.java>

Thanks,
Tom


> On Jul 17, 2018, at 1:20 AM, Frizz <frizzthe...@googlemail.com.INVALID> wrote:
> 
> I'd like to get notified each time a messages ends up in a DLQ.
> 
> My preferred solution would be to use the existing ELK stack and write a
> filter in Kibana.
> (have the AMQ logfiles sent via Logstash to Kibana)
> 
> Question is: How can I configure AMQ to write DLQ related messages in the
> logfiles? What messages do I have to look for?

Reply via email to