Hi,

I have a choice block in a camel route similar to :-
<simple>${header.myProp} == 'myTestProp' && ${body} contains
'stringToFind'</simple>

However, I get a compilation error:-
The entity name must immediately follow the '&' in the entity reference.

I'm using Camel 2.9 so as far as I can see the 'and' and 'or' operators are
deprecated.  Would appreciate it if someone could reply with a way around
this.  I've tried a few different approaches, some that compile but seem to
produce unexpected results.

Regards,

Justin





--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-have-more-than-one-condition-in-simple-expression-language-tp5723898.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to