Hello.
For almost all our JMS consumer routes, we didn't need to move
messages to a DLQ queue : for now only redelivery is handled to avoid
repeated errors with something like that on the routes :
<onException >
<exception>java.lang.Exception</exception>
<redeliveryPolicy maximumRedeliveries="0"/>
<continued>
<constant>false</constant>
</continued>
</onException>
Now, for some cases we need to move a failing message to the DLQ that
our ActiveMQ uses when its processing is failing.
For some "transacted routes", message read/write operations are rolled
back on error, and messages are already moved to the DLQ.
What's the simplest way to do it for "not transacted" routes ?
Thanks for your help.
Regards.