Sandeep Reddy,
If you set your logging to DEBUG, does your XML message contain these
tags/elements? Could you post the complete Camel route you are using?
Could you try setting DEBUG for org.apache.camel as well to get more
information? Are you sure this XPath expression does what you expect it
to do? I would expect something like
one-or-more(securitySubject/prinicipals[name='smx'])
Gert
sandeep reddy wrote:
I am using Authentication and Authorization using ServiceMix Properties Login
Module. If the user is coming
from Application 1, then the message is routed to Application 2 and vice
versa.
Sample flow:
Application 1 --> Http-BC(consumer) --> Camel-SE --> Http-BC (provider) -->
Application 2
For checking this condition I am using JXPath expression in Camel-SU. This
how it looks:
<xpath>securitySubject/principals[*]/name='smx'</xpath>
I have servicemix-camel 3.2.2 snapshot in my ServiceMix 3.2.1 instance.
But its not working. It is not giving any errors (even in DEBUG mode) so I
am finding it difficult to
troubleshoot.
Please help?