Hi,
I have been trying to influence whether or not the next endpoint gets
processed based on some aspect of the mesage body using spring DSL and am
having no luck with it. I have tried various incarnations of the following
configuration (including <CHOICE><WHEN> tags in place of
<FILTER>)
${out.body}.size > 0
In my mind, this should only Marshal the data and create the output file if
the size of the Map in the Message body is greater than zero. The bean
(formatOutput) always adds a Map object to the body but this may contain no
elements.
Can you tell me what I am doing wrong please?
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/Conditional-processing-in-Spring-DSL-tp3295646p3295646.html
Sent from the Camel - Users mailing list archive at Nabble.com.