camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10417) camel-properties: Support adding location using child nodes of propertyPlaceholder element
Date Tue, 25 Oct 2016 15:38:58 GMT
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)

Mime
View raw message