I think, it would be see so:
<route>
<from uri="jms:queue:order"/>
<choice>
  <when>
   <body>isWombat == "true"</body>
  <to uri="bean:wombatOrder"/>
</when>
<otherwise>
<to uri="bean:miscOrder"/>
</otherwise>
</choice>
</route>//end of route

2012/11/14 Elezabeth <[email protected]>

> No .. not like that..
>
> For example : See a route like this..
>
> from("jms:queue:order")
>    .choice()
>       .when(isWombat).to("bean:wombatOrder")
>    .otherwise()
>       .to("bean:miscOrder")
>   * .end();  *
>
> I want this route to be configured in xml ... How can I do this or what i
> should I give instead of *.end()*.
>
> Hope you understood my question.
>
>
>
>
>
>
> -----
> Thanks & Regards
> Elz
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Spridng-DSL-equivqlent-of-end-tp5722712p5722716.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to