Class MessageSourceConfiguration

java.lang.Object
org.chenile.configuration.core.MessageSourceConfiguration

@Configuration @PropertySource("classpath:${chenile.properties:chenile.properties}") public class MessageSourceConfiguration extends Object
Author:
Raja Shankar Kolluru Configure a message source that can consume multiple instances of the messages.properties file This will allow us to modularize internationalized message handling. This seems to interfere with the propertysource configurations and hence has been moved into a configuration class by itself (instead of it being in ChenileCoreConfiguration)
  • Field Details

    • resourceBundle

      @Value("${resource.bundle:messages}") private String resourceBundle
  • Constructor Details

    • MessageSourceConfiguration

      public MessageSourceConfiguration()
  • Method Details