Hey.
Read Splitter https://camel.apache.org/splitter.html
Section "Using a Pojo to do the splitting", a class MySplitterBean.
Change the method signature

public List <Message> splitMessage (Message inMessage)

So you will have access to the head of the input message.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Splitting-XML-but-including-attribute-from-parent-document-tp5709636p5709761.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to