Hi
See the documentation, at the section _Operator support_ onwards
http://camel.apache.org/simpleOn Mon, Jul 16, 2012 at 8:11 PM, Gary Liu <
[hidden email]> wrote:
> Hello,
> I need to put "AND" log into my spring based xml.
> Here is the snappit:
>
> <when>
> <description>Transaction Imports</description>
> <simple>${in.header.CamelHttpPath} contains
> '/trans/Inventory/'</simple>
> AND
> <simple>${in.header.CamelHttpMethod} != 'DELETE'</simple>
>
> <log
> message="Validating [Trans Inventory Import] web request
> xml." />
> <to uri="validator:com/xyzcomp/ws/rs/validation/inventory.xsd"
> />
> </when>
>
> My question is:
>
> How to use "AND" here?
>
> Thanks,
> --Gary
>
> --
> View this message in context:
http://camel.465427.n5.nabble.com/Compound-Predicate-For-Camel-Route-tp5716112.html> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
FuseSource
Email:
[hidden email]
Web:
http://fusesource.comTwitter: davsclaus, fusenews
Blog:
http://davsclaus.comAuthor of Camel in Action:
http://www.manning.com/ibsen