Re: Logging DLQ activity

2018-07-26 Thread Tim Bain
Are you able to reliably reproduce the behavior where a message is sent to the DLQ but sendToDeadLetterQueue() is not called? If you are, can you share that setup? With the help of a debugger or a profiler we might be able to figure out why it's inconsistent, and how we could tie in to something th

Re: Logging DLQ activity

2018-07-25 Thread Frizz
Yes, this is what I've ended up with (Broker Plugin). Unfortunately it does not work reliably for sendToDeadLetterQueue() (-> some messages are moved to DLQ but sendToDeadLetterQueue is not called). So I used send() instead -> this works. Two notes: 1) I am not 100% happy to hook into send() becau

Re: Logging DLQ activity

2018-07-17 Thread Tom Hall
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

Logging DLQ activity

2018-07-17 Thread Frizz
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 m