camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "valerian.merkling" <valerian.merkl...@capgemini.com>
Subject Camel Properties override
Date Wed, 17 Apr 2013 15:21:06 GMT
Hi !

Just a quick question about properties.

If I define two property files like this :

    <bean id="properties"
class="org.apache.camel.component.properties.PropertiesComponent">
        <property name="locations">
            <list>
                <value>classpath:test1.properties</value>
                <value>file:${karaf.home}/etc/test2.properties</value>
            </list>
        </property>
    </bean>

And test1 and test2 both define the /foo/property, am I sure that I will
always have the value defined in test2 ? 

I made a few test, and it seems that it is ok, but i need to be sure.

Best regards, 

Valerian Merkling



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Properties-override-tp5731025.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message