Hi,

As I don't know your data structure, it's difficult for me to give you a
specific (or "best") way.
But you have 2 possibilities (see http://camel.apache.org/aggregator.html)
:

   1. Use a custom aggregation strategy in java code
   2. Use the option "grouped exchanges" or use a "custom aggregation
   strategy"

Find the solution that suits to your needs.


2014-07-29 12:04 GMT+02:00 vdhawan <vaibhav.10.dha...@gmail.com>:

> Thanks arnaudeprez.
>
> This sounds like that this could work.
>
> 1. Splitting - i understand , i can unmarshal header and body via xpath
> 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 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.
>

Reply via email to