3
Gentlemen, in my system I have an external component that contains 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 the exception messages to be displayed in the application that is importing it, something that is not occurring :
br.com.mv.liberty.editor3core.exception.vo.StudioException: group.length.max.description
How should I configure my application to display messages from this embedded component ?