Re: Splitter with option

2013-02-04 Thread Claus Ibsen
res out to call bean A or bean B. .split() .method(myClass, "methodTosplit") .bean(myClass, "callAorB") > > thxs. > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Splitter-with-option-tp5726900p57269

Re: Splitter with option

2013-02-04 Thread kikou1984
i can make test, .choice().when().simple("${in.header.Array} == fistOne").bean(myClassA, "methodA") .otherwise() .bean(myClassB, "methodB"); thxs. -- View this message in context: http://camel.465427.n5.nabble.com/Splitter-with-option-tp5726900p5726909.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Splitter with option

2013-02-04 Thread Claus Ibsen
; myClassB. > > How can i configure the splitter, to get this for exemple : > the first ArrayList to the bean myClassA only , Then the second > ArrayList to the bean myClassB only. > > I got a lead , using the Headers, but the context still the same for the > spliter > > h

Splitter with option

2013-02-04 Thread kikou1984
-- View this message in context: http://camel.465427.n5.nabble.com/Splitter-with-option-tp5726900.html Sent from the Camel - Users mailing list archive at Nabble.com.