camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <babak.vah...@swissonline.ch>
Subject Re: Splitting XML but including attribute from parent-document
Date Tue, 15 May 2012 13:44:44 GMT
Hi

Yes there's indeed a Spring DSL way to do it as well called "<method>", so
given that sample from the Camel documentation itself by the previous post
you would have something like:

<bean id="mySplitterBean" class="org.foo.MySplitterBean "/>

...
...
<split>
  <method bean="mySplitterBean" method="splitBody"/>
  <to uri="mock:result"/>
</split>

Babak


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

Mime
View raw message