Hi What version of Camel are you using? I think those are fixed on one of the later releases.
On Fri, Mar 16, 2012 at 3:53 PM, Thibault <[email protected]> wrote: > Hi all, > > I have this DSL route definition: > > >> from("seda:InTransform") >> .choice() >> .when(property("input.format").isEqualsTo("test")) >> .to("jbi:endpoint:MyService:MyEndpoint") >> .otherwise() >> .to("jbi:endpoint:AnotherService:AnotherEndpoint"); >> > > (I want to test a value that i have already set as "input.format" property) > The DSL compiles, but when I show the route on Karaf (camel:show-route), it > only displays this: > > > >> (...) >> <choice> >> <when> >> <expressionDefinition /> >> <to uri="jbi:endpoint:MyService:MyEndpoint" id="to3"/> >> </when> >> <otherwise> >> (...) >> </otherwise> >> </choice> >> (...) >> > Why doesn't the predicate on the property "input.format" appear in the route > ? Did I write something wrong ? > > Regards, > Thibault > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Choice-When-always-generate-empty-predicate-tp5571443p5571443.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
