Hi

Are you using transactions, if so a rollback cannot enrich the message
with any details from Camel, but only move the message as-is to the
DLQ.

If you want to enrich the message from Camel you would need to commit
instead but let Camel enrich the message and send it to a new
destination which is the dead letter queue

On Thu, Mar 12, 2015 at 10:41 PM, bwest <bwesterfi...@gmail.com> wrote:
> Greetings,
>
> I'm trying to trap exception and place it on the header so when a message is
> DLQ'd we can see the exception.  I've got a camel DLQ strategy configured
> and i'm extracting the exchange.EXCEPTION_CAUGHT.
>
> However, when the message is placed into the DLQ, all of my Camel headers
> are gone, including my exception header.  I've poked around the internet and
> have made some minor changes.  Such as placing my header on the
> exchange.getIN etc....
>
> But to no avail.  What am I missing here?  Anyone have any insight?
>
> Thanks,
> Bryan
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-Exception-propogation-to-ActiveMQ-DLQ-tp5764061.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to