camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kraythe ." <kray...@gmail.com>
Subject Re: AW: AW: Camel Routing using map message help required
Date Mon, 07 Oct 2013 16:46:32 GMT
Ack ... premature submit ... check out the content based router EIP.

http://camel.apache.org/enterprise-integration-patterns.html

*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 11:45 AM, kraythe . <kraythe@gmail.com> wrote:

> 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, prabumca06@gmail.com <prabumca06@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.
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message