hello,
I read the javadoc of the "ReloadableResourceBundleMessageSource" and did not understand the following:
I don't get the last sentence! E.g. when I set cacheSeconds to 1 hours it means that message lookup takes as long as with cacheSeconds set to 1 second?This MessageSource implementation is usually slightly faster than ResourceBundleMessageSource, which builds on java.util.ResourceBundle - in the default mode, i.e. when caching forever.
With "cacheSeconds" set to 1, message lookup takes about twice as long - with the benefit that changes in individual properties files are detected with a maximum delay of 1 second.
Higher "cacheSeconds" values usually don't make a significant difference.
Hope s.o. can clarify it to me!
Thanks in advance, Leif


Reply With Quote