You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2016/10/25 15:38:58 UTC

[jira] [Created] (CAMEL-10417) camel-properties: Support adding location using child nodes of propertyPlaceholder element

Luca Burgazzoli created CAMEL-10417:
---------------------------------------

             Summary: camel-properties: Support adding location using child nodes of propertyPlaceholder element
                 Key: CAMEL-10417
                 URL: https://issues.apache.org/jira/browse/CAMEL-10417
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Luca Burgazzoli
            Assignee: Luca Burgazzoli
            Priority: Minor
             Fix For: 2.18.1, 2.19.0


As today to define a list of locations you should separate them with a comma:

{code:xml}
<propertyPlaceholder id="properties" location="com/mycompany/myprop.properties,ref:myProperties"/>
{code}

It would be nice to have a way to set the locations *also* with a child nodes of propertyPlaceholder element, like:

{code:xml}
<propertyPlaceholder id="properties">
  <properties location="com/mycompany/myprop.properties/>
  <properties location="ref:myProperties/>
</propertyPlaceholder>
{code}

These locations will be added to the locations defined in the propertyPlaceholder element.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)