Created
February 7, 2013 15:57
-
-
Save sunggun-yu/4731865 to your computer and use it in GitHub Desktop.
Using external message resource file in Spring ReloadableResourceBundleMessageSource.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- MessageSource --> | |
<!-- /usr/local/conf/app/messages/messages_en_US.properties --> | |
<beans:bean id="messageSource" | |
class="org.springframework.context.support.ReloadableResourceBundleMessageSource"> | |
<beans:property name="basename"> | |
<beans:value>file:/usr/local/conf/app/messages/messages</beans:value> | |
</beans:property> | |
<beans:property name="cacheSeconds" value="600" /> | |
</beans:bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment