camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peter.berkman" <>
Subject Re: RouteBuilder from exposing as a ChoiceDefinition rather than a RouteDefinition
Date Fri, 15 Nov 2013 15:15:42 GMT
I've tried that -- on the simple case just replacing endChoice() with end(). 
same issue there, and depending where I put it, it changes what it thinks it
is from a ChoiceDefinition to a ProcessorDefinition.

I've also tried using .filter.  However, that forces 'from' to expose yet a
different object which is also incompatible with a RouteDefinition... 

this seems very broken - is it not used much?  we started with Spring
routes, but ran into a number of restrictions - especially in OSGi that we
could not live with, so we decided to go with Java DSL mainly because from
everything I've read, it seemed to be what most are using.  However, if you
can't use choice or filter, it seems fairly useless, no?

let me know what the plan is for this and if I should be looking into a
different DSL to use ...

thanks Claus, always appreciate your quick help!

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message