Alert on DLQ entry

Hello everyone.

I need to have some sort of alert or logging whenever a JMS message ends up in DLQ. I didn’t find any simple solution that would do.

So, I am thinking of writing a scheduled flow service that would connect to the JMS client DefaultDLQ*, fetch the documents and send them to an email or log them to filesystem. Is that possible to achieve with pub.jms:createConsumer and pub.jms:receive? Or is DLQ some special client that I can’t connect to?

Or any other ideas?

Thanks in advance.


Hi There,

Below is my thought.

Keep a dummy trigger for that DLQ, invoke a service which triggers an alert saying some document has been arrived into it.

Let us see what other comments on this.