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)

Reply via email to