title: Spring Cloud : Load Message Sources from config server
body: <p>I'm working on Spring cloud project (Spring Boot + Eureka API ) that contains client , registry and a config server , so I need to load Message properties from the config Server :</p>
  
  <p>I have already a config server with application.properties well configured and available from client server .</p>
  
  <p>My current MessageSource Bean in the client Micro-service:</p>
  
  <pre><code>@Configuration
  public class Config {
  
      @Bean
      public ReloadableResourceBundleMessageSource messageSource() {
          ReloadableResourceBundleMessageSource messageSource = new ReloadableResourceBundleMessageSource();
          messageSource.setBasename("classpath:/messages/messages");
          messageSource.setDefaultEncoding("UTF-8");
          return messageSource;
      }
  }
  </code></pre>