camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Keep header (JMSCorrelationID) after splitting
Date Wed, 16 Jan 2008 15:27:00 GMT
On 14/01/2008, Robert Thullner <> 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("")
> .splitter(splitNurseSystem)
> .to("");

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

Open Source Integration

View raw message