Gentlemen, on my system I have an external component containing the messagesource bean configured as follows:
@Bean
public ReloadableResourceBundleMessageSource messageSource() {
final ReloadableResourceBundleMessageSource source = new ReloadableResourceBundleMessageSource();
source.setBasename("classpath:i18n/core/messages");
source.setDefaultEncoding("UTF-8");
source.setUseCodeAsDefaultMessage(true);
return source;
}
However, I need exception messages to appear in the application that is importing it, something that is not happening:
br.com.mv.liberty.editor3core.exception.vo.StudioException: group.length.max.description
How do I configure my application to display the messages for this embedded component?