[
https://issues.apache.org/jira/browse/CAMEL-9212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15030579#comment-15030579
]
ASF GitHub Bot commented on CAMEL-9212:
---------------------------------------
GitHub user snurmine opened a pull request:
https://github.com/apache/camel/pull/701
CAMEL-9212: Enable dynamic values in the headerName / propertyName.
CAMEL-9212: Enable dynamic values in the headerName / propertyName.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/snurmine/camel CAMEL-9212
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/701.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #701
----
commit 0319cd05d15fd05e17012329250df388dcf28d19
Author: Sami Nurminen <[email protected]>
Date: 2015-11-28T11:52:04Z
CAMEL-9212: Enable dynamic values in the headerName / propertyName.
----
> Enable dynamic values in the headerName / propertyName
> ------------------------------------------------------
>
> Key: CAMEL-9212
> URL: https://issues.apache.org/jira/browse/CAMEL-9212
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Affects Versions: 2.15.3
> Reporter: stephen hartley
> Fix For: 2.17.0
>
>
> 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:
> {code:xml}
> <setProperty
> propertyName="$simple{type:my.domain.StringConstants.EXCHANGE_PROP_TX_FAILED}">
> <simple>${type:java.lang.Boolean.TRUE}</simple>
> </setProperty>
> {code}
> {code:java}
> StringConstants.EXCHANGE_PROP_TX_FAILED = "exchange_prop_tx_failed";
> {code}
> See also [this
> thread|http://camel.465427.n5.nabble.com/Simple-expression-not-evaluated-in-Spring-DSL-setProperty-td5765820.html]
> from camel-users.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)