[
https://issues.apache.org/jira/browse/CAMEL-10417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luca Burgazzoli updated CAMEL-10417:
------------------------------------
Description:
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.
was:
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.
> 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)