On 14/01/2008, Robert Thullner <[EMAIL PROTECTED]> wrote:
> 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");This sounds like a bug; could you raise a JIRA please? By default we should probably copy all the headers from the source message to each split message -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
