Hi
 
I send a JMS message, where I set the JMSCorrelationID to a custom value for
each message. The message is then send to a splitter and afterwards to a
router and then to an aggregator, where I would like to aggregate parts of
the original message again. 
 
But after the splitter my JMSCorrelationID, which I set in my Java program
is set to null. I guess this is because new messages are generated and sent
to the receivers and my original message is deleted. However I need to keep
the correlationId after splitting. Is there some mechanism how I could
achieve this?
 
 
My splitter looks like this:
XPathBuilder splitNurseSystem = new XPathBuilder("/document/*");
from("hospital:camel.hospital.nurse.send")
.splitter(splitNurseSystem)
.to("hospital:camel.hospital.nurse.splitted");
 
Thanks for help
Robert
 

Reply via email to