Hi,
I'm new to apache camel, sorry if my question is very basic.
I'm using Apache camel with spring in my application. I'm using
BridgePropertyPlaceholderConfigurer like below. Am accessing these
properties using placeholders {{ }} in camel context and ${} in spring
beans. I would like to add one more property file from database(mongodb) and
it should be loaded during application startup.
Is BridePropertyPlaceholderConfigurer supports property file from database ?
or do i need to use any other property component addition to this ? I want
to access the property in both camel context and spring using same
placeholders {{}} in camel context and ${} in spring beans for additional
property file from db. Please suggest
<bean id="bridgePropertyPlaceholder"
class="org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:application.properties</value>
<value>classpath*:mongo.properties</value>
</list>
</property>
<property name="ignoreResourceNotFound" value="true" />
</bean>
Thanks in advance
--
View this message in context:
http://camel.465427.n5.nabble.com/BridgePropertyPlaceholderConfigurer-Load-propertyfile-from-database-tp5793740.html
Sent from the Camel - Users mailing list archive at Nabble.com.