}
@Override
public MessageResolution resolveMessage(final Arguments arguments, final String key, final Object[] messageParameters) {
logger.debug("arguments: {}, key: {}, message parameters: {}", arguments, key, messageParameters);
final IContext context = arguments.getContext();
final Locale locale = context.getLocale();
final ResourceBundle resourceBundle = resourceBundleProvider.getResourceBundle(locale);
final String string = resourceBundle.getString(key);
final MessageFormat messageFormat = new MessageFormat(string, locale);
final String message = messageFormat.format((messageParameters != null ? messageParameters : EMPTY_MESSAGE_PARAMETERS));
return new MessageResolution(message);