You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2017/05/17 09:14:04 UTC
[jira] [Resolved] (CAMEL-11271) Support placeholders on attributes
of camelContext element
[ https://issues.apache.org/jira/browse/CAMEL-11271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoran Regvart resolved CAMEL-11271.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.20.0
The description mentions {{autoStartup}} property not to support property placeholders, this was a wrong assumption it is supported.
Other thatn that, the missing placeholder support for {{managementNamePattern}} and {{threadNamePattern}} was added.
> Support placeholders on attributes of camelContext element
> ----------------------------------------------------------
>
> Key: CAMEL-11271
> URL: https://issues.apache.org/jira/browse/CAMEL-11271
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Fix For: 2.20.0
>
>
> Property placeholders used in attributes of {{<camelContext>}} element don't get replaced when being set on the {{CamelContextFactoryBean}}.
> For example:
> {code:xml}
> <camelContext autoStartup="{{autoStartup}}" xmlns="http://camel.apache.org/schema/spring">
> ...
> </camelContext>
> {code}
> the {{autoStartup}} property of {{CamelContextFactoryBean}} will be set to the literal value of {{"{{autoStartup}}"}} and not replaced with property value with the key of {{autoStartup}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)