Hi everybody,
i haven't find in google if it is possible to set a value on a body
attribute directly in camel.
For example to do something like this :
<route id="aRoute">
<from uri="direct:aRoute">
<choice>
<when>
<simple>${body.attribute0 == 5}</simple>
<simple>${body.attribute1 = 10}</simple>
<to uri="bean:doSomethingA?method=go"/>
</when>
<otherwise>
<simple>${body.attribute1 = 15}</simple>
<to uri="bean:doSomethingB?method=go"/>
</otherwise>
</choice>
</route>
Thanks for help!
--
View this message in context:
http://camel.465427.n5.nabble.com/Set-value-on-a-body-attribute-tp5767522.html
Sent from the Camel - Users mailing list archive at Nabble.com.