Re: How to pass multiple custom objects to processor

2014-07-29 Thread Arnaud Deprez
ath > separately and i am good. > > Any specific way to collect these two objects and in collection ? And, if i > manage to put my two objects in a collection, in what format should i send > it to processor. > > Thanks again!! > > > > -- > View this message in co

Re: How to pass multiple custom objects to processor

2014-07-29 Thread vdhawan
format should i send it to processor. Thanks again!! -- View this message in context: http://camel.465427.n5.nabble.com/How-to-pass-multiple-custom-objects-to-processor-tp5754502p5754577.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to pass multiple custom objects to processor

2014-07-29 Thread vdhawan
Thanks Matt. //MyXpath And the corresponding getter i.e exchange.getProperties().get("bodyPart") gives me null. Same with Result. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-pass-multiple-custom-objects-to

Re: How to pass multiple custom objects to processor

2014-07-28 Thread sandeepreddip
DataFormat) .process(new SomeProcessor()) .end(); Similarly you can marshal back. Checkout the link below Camel Data Format <http://camel.apache.org/data-format.html> -- View this message in context: http://camel.465427.n5.nabble.com/How-to-pass

Re: How to pass multiple custom objects to processor

2014-07-28 Thread Arnaud Deprez
r) DOMNodeList > > header, @Xpath(//MyBody mybody) > > -- Do unmarshalling > > -- Edit the message > > -- Marshal > > -- Set Body in outgoing exhange > > > > Is this the right way to do it? > > > > > > > > -- > > View this message in context: > > > http://camel.465427.n5.nabble.com/How-to-pass-multiple-custom-objects-to-processor-tp5754502.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > -- > Matt Sicker >

Re: How to pass multiple custom objects to processor

2014-07-28 Thread Matt Sicker
-- Do unmarshalling > -- Edit the message > -- Marshal > -- Set Body in outgoing exhange > > Is this the right way to do it? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-pass-multiple-custom-objects-to-processor-tp5754502.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

How to pass multiple custom objects to processor

2014-07-28 Thread vdhawan
h(//MyBody mybody) -- Do unmarshalling -- Edit the message -- Marshal -- Set Body in outgoing exhange Is this the right way to do it? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-pass-multiple-custom-objects-to-processor-tp5754502.html Sent from the Camel - Users ma