title: How to manually reload properties file from Spring messageSource
body: <p>For spring framework, I want to manually reload data inside properties file. Actually, have to write reload servlet that will manually reload data when I manually run this servlet file.</p>
  
  <p>I have already defined spring configuration for messageSource.</p>
  
  <pre><code>&lt;bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"
          p:basename="classpath:/message" /&gt;
  </code></pre>
  
  <p>But don't want to autoreload at certain amount of time for example can autoreload when setting:</p>
  
  <pre><code>&lt;bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"
              p:basename="classpath:/message"
              p:cacheSeconds="1" /&gt;
  </code></pre>
  
  <p>I tried before by clearCaches() but not autoreload.</p>