Split into multiple routes. The Java compiler with generics have been
stretched as far you can go with Java language.

Or use Spring XML as the XML tags can be nested.
Or Scala which happens to be a much better language for creating DSL.

On Wed, Mar 17, 2010 at 4:23 PM, leNerd <[email protected]> wrote:
>
> Inside a route i am trying to create a nested choice structure in two levels,
> but the outermost otherwise never gets called. I have tried to insert an
> end(), but it doesn't compile.
> I found an old thread
> http://old.nabble.com/Are-nested-choice-processors-possible--td17445856.html#a17445856
> but i can't get it to work, as the ChoiceType cast is not accepted. The
> thread is 1½ years old an i wonder if a better solution had emerged.
>
> leNerd
>
> --
> View this message in context: 
> http://old.nabble.com/Nested-choice-tp27933370p27933370.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to