I just made a simple route, and I discovered that the operator AND of simple
component does not work.
bellow the route :
<route>
<from uri="activemq:queue:IN"/>
<choice>
<when>
<simple>${in.header.Test1} == 'Test1' and ${in.header.Test2} contains
'Test'</simple>
<to uri="activemq:queue:OK"/>
</when>
<otherwise>
<to uri="activemq:queue:NOK"/>
</otherwise>
</choice>
</route>
Thank you in advance,
titexe
--
View this message in context: http://old.nabble.com/Camel-Simple-%3A-operator-%27AND%27-does-not-work-tp27627542p27627542.html
Sent from the Camel - Users mailing list archive at Nabble.com.