Before the splitter, put the original body into a property, then you can access it from the processor.
HTH, On 10 September 2014 18:10, sandp <[email protected]> wrote: > Hi, > Is it possible to access the original body along with the split body in a > processor? > > *E.g. Parent object has a List<Child> objects,* > And in the route: > > .split(simple("${in.body?children}")).stopOnException().process(new > TestProcessor()) > > For each split, the Message body in the TestProcessor will have a* Child > object* , now, is it possible to access the original body containing the > Parent object as well in the Processor? > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-2-13-1-Orignal-Body-from-Splitter-tp5756291.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Bilgin Ibryam Red Hat, Inc. Apache Camel & Apache OFBiz committer Blog: ofbizian.com Twitter: @bibryam <https://twitter.com/bibryam> Author of Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475
