cacheNotification(m); delegate.messageSent(m, fromBuffer); if (attempts >= RETRIES) { logger.error("Couldn't send message after " + RETRIES + " retries." + m, e); delegate.messageSendFailed(m, e); Utilities.wrapAndThrowAsRuntimeException(e);
cacheNotification(m); delegate.messageSent(m, fromBuffer); if (attempts >= RETRIES) { logger.error("Couldn't send message after " + RETRIES + " retries." + m, e); delegate.messageSendFailed(m, e); Utilities.wrapAndThrowAsRuntimeException(e);