I am using Mule CE 3.2.1 and would like to do the following:
<add-message-property key="field1" value="#[xpath:#[header:INVOCATION:my.attribute.1]]"/>
What I get now is just an error saying the XPath is invalid as it doesn't resolve the expression '#[header:INVOCATION:my.attribute.1]'. What I am trying to achive is to make the XPath expression 'dynamic' so it is based on properties in the incoming message.
Can someone tell *if* this can be done and how it is easiest to achieve it?
Thx in advance!