title: How to change spring bean property value in xml at runtime?
body: <p>I have a springconfig.xml file and i used to get the bean property values from my.properties file. property file values are changed dynamically. but it will not set to the spring bean property. it will change only after i restart my tomcat. Here is my part of xml code.</p>
  
  <pre><code>&lt;bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&gt;
      &lt;property name="location"&gt;
           &lt;value&gt;file:/SATHISH/apache.8.0.24/bin/my.properties&lt;/value&gt;
       &lt;/property&gt;
      &lt;/bean&gt; 
  
  &lt;bean id="jmsEmailTemplateBean" class="org.springframework.jms.core.JmsTemplate"&gt;
      &lt;property name="connectionFactory" ref="authenticationConnectionFactory" /&gt;
      &lt;property name="defaultDestination" ref="${queuename}" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>if i change the my.properties value to "foo" it will work.
  again i change "foo" to "boo" at runtime it will not work. It will not assign to ${queuename}.</p>
  
  <p>manually i changed my.properties value at runtime. it will not affect springconfig.xml</p>
  
  <p>It is possible to change xml values at runtime?
  Thanks in advance</p>