Re: OtherwiseDefinition cannot be cast to org.apache.camel.model.ChoiceDefinition

2011-10-04 Thread David Karlsen
Try end() or choiceEnd() Den 4. okt. 2011 09:30 skrev "heinrichheine" følgende: > Hi again, > still migrating my camel 2.5 route to 2.8.1. > I ran into this problem this morning: > When i try to start camel with this route configuration: > > [..] > .choice() > .when() > .xpath( "count(//foo_write:

OtherwiseDefinition cannot be cast to org.apache.camel.model.ChoiceDefinition

2011-10-04 Thread heinrichheine
Hi again, still migrating my camel 2.5 route to 2.8.1. I ran into this problem this morning: When i try to start camel with this route configuration: [..] .choice() .when() .xpath( "count(//foo_write:bar) = 1", ns) .wireTap( "log:WriteRequestReci