[
https://issues.apache.org/jira/browse/CAMEL-10417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15607738#comment-15607738
]
Claus Ibsen commented on CAMEL-10417:
-------------------------------------
I dont think its a good idea to do this on a patch release, to have this DSL
change. Also isnt location attribute mandatory and now you make that optional
if you provide a <propertiesLocation> element.
What is your requirement for the nested elements? Separating by comma is easier
and its the same in Java and XML.
> 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">
> <propertiesLocation location="com/mycompany/myprop.properties/>
> <propertiesLocation 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)