I have checked the headers and it does seem that the xpath is not returning anything.
Given that this is the Spring DSL, and the sessionID element would only fall under the standard namespace I am not sure how to actually declare it in the spring DSL properly. Can I use a mock namespace and append that to the front of the expression? Seems like saying //ns0:sessionID wouldn't work though even if I set the ns0 in the context to the base xmnls of the doc. Would a simple expression be easier to pull out this sessionID value? I tried that as well and am still not getting a value from it. -- View this message in context: http://camel.465427.n5.nabble.com/Using-headers-and-velocity-tp5030214p5032839.html Sent from the Camel - Users mailing list archive at Nabble.com.