Hi Use tracer to see what the message you send contains http://camel.apache.org/tracer
To be sure you message contains those headers and their value matches what is tested. There are many unit tests in Camel and I doubt there is a problem. On Wed, Feb 17, 2010 at 6:44 PM, titexe <[email protected]> wrote: > > 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. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
