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
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