Sorry, I moved the discussion to another topic. You don't quite understand me. My xpath expression is correct. I tested this xpath expr. with my xml using online xpath selector, it's work normal. The problem is that xpath must select from my header, but not in the body.
For example that expression work incorrect: <xpath>in:header('history')/history/p[@id = 'RESTSYBRIGE' and @state != 'NN']</xpath> message not move to queue RESTRUCT.DECLINE How to make so that the XPath searching in the header? -- View this message in context: http://camel.465427.n5.nabble.com/xpath-for-header-tp5718190p5718251.html Sent from the Camel - Users mailing list archive at Nabble.com.