I think you need to use the XML escape sequence for the ampersand - i.e. && instead of && (or ‘and’ in this case).
> On Jun 28, 2016, at 1:41 PM, daelliott1234 <my_fo...@outlook.com> wrote: > > The documentation (http://camel.apache.org/simple.html) states "Use && or || > from Camel 2.9 onwards." > There is no example of using it in XML. > > What is the recommended usage? > > For example this works but "and" is deprecated. > What should this change to? > > <simple>$simple{header[CustomerID]} == '200' and > $simple{header[CustomerSite]} != '01'</simple> > > Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/v2-12-3-Simple-Expression-Logical-Operators-in-XML-tp5784524.html > Sent from the Camel - Users mailing list archive at Nabble.com.