camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <>
Subject Re: Add custom header when message is rolled back to queue in transaction?
Date Tue, 31 Dec 2013 10:27:35 GMT
Hi guys,

> Does this mean I need to manage sending messages to the DLQ from within the
> route in the error handler?

No, the DLQ handler definition (deadLetterChannel("jms:queue:dead"))
is all you need. No extra wiring is required. Other routes don't need
to be aware of the DQL definition.

As far as I know DLQ doesn't participate in existing transaction.
Error handler just sends the copy of the message to the given


Henryk Konsek

View raw message