On sharing the unit of work, I see that there is a parent object in the
Exchange's unitOfWork object, that has the Parent's originalInMessage. The
UnitOfWork API doesn't seem to have a method to get the parent's
originalInMessage.
.split(simple("${in.body?children}"))*.shareUnitOfWork().*stopOnException().process(new
TestProcessor())
*Similar Question on Web:*
The post below suggests setting the original message in a property to access
it.
http://qnalist.com/questions/4783390/accessing-the-original-message-from-before-a-split
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-2-13-1-Original-Body-from-Splitter-along-with-split-body-tp5756291p5756293.html
Sent from the Camel - Users mailing list archive at Nabble.com.