Hello,

I have a dead letter queue which I want to empty regularly and log the
messages that I take off of it. Along the message, I also want to log the
OriginalDestination header in order to make the log more informative. For
this purpose a simple route was created that takes the messages off the dead
letter queue and puts them through a processor which will do the logging.

However, while the OriginalDestination header is present when I inspect the
message header in Fuse web management console, by the time the exchange
reaches the processor the header is gone. Also, this log:

  from("amq:queue:ActiveMQ.DLQ").log("${headers}");

doesn't contain the OriginalDestination header.

Camel version is 2.12.0.redhat-610379.

Does anyone have an idea how to preserve the header and why it's
disappearing ?

Kind regards,
Slavisa Marjanovic





--
View this message in context: 
http://camel.465427.n5.nabble.com/Disappearing-header-OriginalDestination-tp5770098.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to