Re: Choice Based On Pojo in Exchange

2016-10-18 Thread Claus Ibsen
"); > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Choice-Based-On-Pojo-in-Exchange-tp5788899.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Choice Based On Pojo in Exchange

2016-10-18 Thread spurcell
someone chime in on this? Thanks Something like this: .choice() .when(body().isErrors().size() < 1)) .to("bean:xxx"") .otherwise() .to("bean:xxx"); -- View this message in context: http://camel.46542