Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.10.2
-
None
-
Unknown
Description
Given the property myKey defined as:
myKey=myValue
Then consider the following trivial route:
<route> <from uri="activemq:queue:okay" /> <transacted /> <setHeader headerName="myHeader"> <constant>{{myKey}}</constant> </setHeader> <to uri="mock:test" /> </route>
Because of the usage of the transacted DSL the property placeholder {{myKey}} will not be resolved to myValue properly. This behaviour would disappear if you would remove the transacted DSL. And I'm observing the same behaviour using the setBody DSL as well.