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.