hello,

Mt header has a herder called RouteConfiguration which contains xml ( as
string):

<log message="*****************
${headers.RouteConfiguration}***************" />

prints:

 ***************** <key>enabled</authorizationCheck>***************


I am trying to use xpath totest the value of key
I have tried this:
                        <choice>
                                <when>
                                <xpath headerName="RouteConfiguration"/key = 
'enabled'>/</xpath>

and:

                        <choice>
                                <when>
                                <xpath headerName="RouteConfiguration"/key[0] = 
'enabled'>/</xpath>

and it does not work
Any idea how to do that?

Thank you







--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-xpath-tp5749754.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to