GitHub user zregvart opened a pull request:
https://github.com/apache/camel/pull/1692
CAMEL-11271 Support placeholders on attributes of camelContext element
I'm not sure about the background, there could be a reason why attributes
on `camelContext` don't get property placeholder support, so submitting for
review. Thanks for taking a look ð¥
This adds logic to `afterPropertiesSet` to enumerate all fields of
`CamelContextFactoryBean` and pass any `String` values to
`CamelContext::resolvePropertyPlaceholders` for replacement.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zregvart/camel CAMEL-11271
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1692.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 #1692
----
commit e5384b4f63465a0603ba9971bf6a95ab20ed38a3
Author: Zoran Regvart <[email protected]>
Date: 2017-05-13T06:24:57Z
CAMEL-11271 Support placeholders on attributes ...
...of camelContext element
This adds logic to `afterPropertiesSet` to enumerate all fields of
`CamelContextFactoryBean` and pass any `String` values
to `CamelContext::resolvePropertyPlaceholders` for replacement.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---