choice()
.when(simple("${body[CREDITORDEBIT]} == true").to(credit_uri).endChoice()
.otherwise().to(debit_uri)
.end()

*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39*


On Mon, Oct 7, 2013 at 8:45 AM, prabumc...@gmail.com
<prabumc...@gmail.com>wrote:

> My message is mapmessage.
>
> I.e my map message contain key CREDITORDEBIT.I want check if it is credit i
> want move message or i want discard the message
>
> I have added following code,But this didn't work.
>
> .filter(property(CREDITORDEBIT).isEqualTo(CREDIT))
>
>
> Please kindly help me.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Routing-using-map-message-help-required-tp5740305p5741033.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to