camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From titexe <tit...@yahoo.Fr>
Subject Camel Simple : operator 'AND' does not work
Date Wed, 17 Feb 2010 17:44:03 GMT

Hello,

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.


Mime
View raw message