Re: CastException error when using choice in a route

2012-11-23 Thread Claus Ibsen
end() to each of the choices, but then I got an > error on the second when(): The method when(Predicate) is undefined for the > type ProcessorDefinition > > > Any ideas what I'm doing wrong? > > Best Regards, > Florian > > > > -- > View this message in

Re: CastException error when using choice in a route

2012-11-22 Thread Claus Ibsen
ond when(): The method when(Predicate) is undefined for the > type ProcessorDefinition > > > Any ideas what I'm doing wrong? > > Best Regards, > Florian > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/CastException-error-w

CastException error when using choice in a route

2012-11-22 Thread Florian B.
The method when(Predicate) is undefined for the type ProcessorDefinition Any ideas what I'm doing wrong? Best Regards, Florian -- View this message in context: http://camel.465427.n5.nabble.com/CastException-error-when-using-choice-in-a-route-tp5723125.html Sent from the Camel - Users mailing list archive at Nabble.com.