/*
* Check the application context has been set.
*/
if (this.messageSource == null) {
throw new ConfigurationException(
"Cannot initialize " + SpringNonCacheableMessageResolver.class.getSimpleName() +
": MessageSource has not been set. Either define this object as " +
"a Spring bean (which will automatically set the MessageSource) or, " +
"if you instance it directly, set the MessageSource manually using its "+
"corresponding setter method.");