On Thu, Feb 28, 2013 at 1:23 PM, cgsk <karthik2...@gmail.com> wrote:
> Hi There,
>
> I am using errorHandler with DeadLetterchannel configured with
> useOriginalMessage,maximumRedeliveries and redeliveryDelay. Everything works
> fine. But when I get the actual message in the dead letter queue in case of
> failures, the JMS headers are getting discarded, even the JMSCorrelationID
> is getting discarded. Any ideas?
>
> Code snippet:
>
>                          errorHandler(deadLetterChannel(dlqJMSUrl)
>                                 .useOriginalMessage()
>                                 .maximumRedeliveries(recordActivityRetryCount)
>                                 .redeliveryDelay(redeliveryDelay));
>
> I tried using preserveQos=true, but still the same issue.
>
> Regards,
> CGSK
>

What version of Camel do you use?

In a recent release we have improved on this for JMS so the original
headers should be included.


>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/JMS-Dead-Letter-channel-discards-JMS-custom-headers-tp5728293.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to