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



--
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.

Reply via email to