camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Promoting the exchange message cause exception as property or header when moving it to dead letter queue
Date Mon, 05 Aug 2013 08:23:30 GMT
The dead letter endpoint can just be another route, and then use the
direct component to send to that route. And in the route you can
enrich the message with the details you want, before sending to the
actual dead letter channel.

On Mon, Aug 5, 2013 at 9:47 AM, Darwish <> wrote:
> Hi ,
> I wonder  if it possible for camel to add custom property or header on the
> message that  exhausted all  redelivery retries and moved to  dead letter
> queue
> This property may contain serialized version of the exception that lead
> moving that message to dead letter queue
> This property will be very helpful– for me at least  - when processing those
> dead letter queue messages and usually creating NAK messages
> My current alternative option for creating such NAK message is to handle
> those exceptions in each route
> Please advice
> -----
> Othman Darwish
> ProgressSoft Corp.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message