I ended up doing 

.split().method("splitterBean", "splitWithParents").aggregationStrategy(new
UseLatestAggregationStrategy())

where my splitterBean solves 1) as mentioned in the original post and the
use of UseLatestAggregationStrategy solves 2) as mentioned in the original
post. I have no idea why I need to use the UseLatestAggregationStrategy to
achieve not to have the original message sent back to me, but it seems to be
the only way.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Split-how-to-include-parents-in-XML-and-prevent-original-message-tp5714836p5714926.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to