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/13 06:22:04 UTC

[jira] [Created] (CAMEL-11271) Support placeholders on attributes of camelContext element

Zoran Regvart created CAMEL-11271:
-------------------------------------

             Summary: 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


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 {{"&#123;&#123;autoStartup&#125;&#125;"}} and not replaced with property value with the key of {{autoStartup}}.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)