Details
-
Type:
New Feature
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.15.3
-
Fix Version/s: 2.17.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
Description
It would be really helpful for me if exchange properties and headers would allow dynamic values to be set from the XML DSL, for example:
<setProperty propertyName="$simple{type:my.domain.StringConstants.EXCHANGE_PROP_TX_FAILED}"> <simple>${type:java.lang.Boolean.TRUE}</simple> </setProperty>
StringConstants.EXCHANGE_PROP_TX_FAILED = "exchange_prop_tx_failed";
See also this thread from camel-users.