Hello, I have a file bc where the endpoint parameters are defined in a property file. Modifying the parameters in the property file, there are not taken into account when stopping->starting the Service Assembly. Neither when Shutdown->start the Service Assembly. I have to restart ServiceMix to be able to take into account the new parameter values.
Is it a normal behavior? How can I update parameters on the fly? My file SU bean is the following: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:file="http://servicemix.apache.org/file/1.0" xmlns:myns="http://examples/file"> <!-- definition of a property file --> <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="ignoreResourceNotFound" value="true" /> <property name="locations"> <list> <value>file:/var/opt/file-su/example-file-bc.properties</value> </list> </property> </bean> <!-- File poller endpoint definition --> <file:poller service="myns:filePolling" endpoint="endpoint" targetService="myns:router" period="${pollingPeriod}" deleteFile="${deleteFile}" archive="${archivingDirectory}" autoCreateDirectory="${autoCreateDirectory}" file="${fileDirectory}"> <!-- File filter --> <property name="filter"> <bean class="org.apache.oro.io.GlobFilenameFilter"> <constructor-arg value="*.xml" /> </bean> </property> </file:poller> </beans> -- View this message in context: http://www.nabble.com/Reloading-properties-tf4949424s12049.html#a14170949 Sent from the ServiceMix - User mailing list archive at Nabble.com.
