Hello there,
I am new to Camel. I am consuming a service request from a JMS queue and
calling an external REST service using CXFRS and processing the response.
But however, the JMSHeaders/custom headers which was in the message when
consuming from request queue is getting removed after calling the rest
service.
Below is the code snippet:
from("jms:request")
.log("CorrelationID: ${header.JMSCorrelationID}")
.to(ISEATZ_SERVICE_URL+serviceMap.get(ISeatzConstant.HOTELRATERULES))
.log("CorrelationID: ${header.JMSCorrelationID}")
First log prints the correlation Id whereas the second log statement prints
empts correleationID. Am I missing something? Kindly help.
--
View this message in context:
http://camel.465427.n5.nabble.com/CXFRS-producer-removing-JMS-headers-tp5568925p5568925.html
Sent from the Camel - Users mailing list archive at Nabble.com.