Re: How to override dlqDeliveryFailureCause

2018-08-17 Thread Claus Ibsen
Hi I would not think you can do that, as the transacted ack mode with a rollback is just a rollback command from the JMS session. Its not like a new JMS message is being created and sent to a DLQ destination where you can provide new message headers / body etc via the JMS client and Camel. On Fr

How to override dlqDeliveryFailureCause

2018-08-17 Thread Martin Pelikán
Hi All, I am trying to override/enhance JMS Message Header dlqDeliveryFailureCause or at least add my own header with Error message when Exception occurs in route in transacted route. Goal is to see Camel Exception in my message after sending to DLQ when max. number retries is exceeded. I am won