Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Is it possible to override a property during runtime after the file has been load using BridgePropertyPlaceholderConfigurer

$
0
0
Is it possible to override a property on runing time after the file has been
load using BridgePropertyPlaceholderConfigurer

<bean id="bridgePropertyPlaceholder"
class="org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer" >
<property name="location" value="classpath:settings.properties"/>
</bean>

setting.properties has:
source=activemq
name=master

After camel has been started I like the change values of source and name
based of an algorithm to something else.
This is not unittest code.

Alireza Salemi

Viewing all articles
Browse latest Browse all 5648

Trending Articles