2008/12/3 packo <[EMAIL PROTECTED]>: > > Thank you for your swift reply. > > I have already tried ognl, following the example in the URL you mentioned. > > The route i created looked like: > > <route> > <from uri="direct:foobar" /> > <choice> > <when> > <ognl>request.headers.foo = 'foo1'</ognl> > <bean ref="fooBean1" /> > </when> > <when> > <ognl>request.headers.foo = 'foo2'</ognl> > <bean ref="fooBean2" /> > </when> > </choice> > . > . > . > </route> > > > But still the result was that i was always getting true for the result of > ognl expression. Maybe i am overlooking sth with OGNL?
Any chance you could hack this test case to reproduce your problem? https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/FilterTest.java -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/
