camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien D <myrddi...@hotmail.com>
Subject Re: content router question
Date Tue, 10 Feb 2009 15:29:21 GMT

Hi,

check this: http://camel.apache.org/recipientlist-annotation.html


pevgen wrote:
> 
> Hello.
> How can I create a "content router", if I want to analize a string message
> body.
> 
> i try to explain my wish by java-like example :
> 
> String messageBody = "test 1";
> if (messageBody.indexOf("1")>=0) then ... messageBody will be sent to an
> "Endpoint1"
> else ...messageBody will be sent to an "Endpoint2".
> 
> thanks.
> Evgeny
> 

-- 
View this message in context: http://www.nabble.com/content-router-question-tp21916527s22882p21936059.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message