camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kleczka Peter John <pklec...@gmail.com>
Subject Re: Splitting XML but including attribute from parent-document
Date Tue, 15 May 2012 11:41:17 GMT
Thanks. Was hoping there was a Sping DSL way to do it, but I guess a POJO just about as easy.


On May 14, 2012, at 10:06 PM, alexey-s <alexins@mail.ru> wrote:

> 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.

Mime
View raw message