This closes #1964
This commit is contained in:
commit
5a39446561
|
@ -1927,4 +1927,7 @@ public interface ActiveMQServerLogger extends BasicLogger {
|
|||
@Message(id = 224090, value = "This node is not configured for Quorum Voting, all nodes must be configured for HA", format = Message.Format.MESSAGE_FORMAT)
|
||||
void noVoteHandlerConfigured();
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 224091, value = "Bridge {0} is unable to connect to destination. Retrying", format = Message.Format.MESSAGE_FORMAT)
|
||||
void errorConnectingBridgeRetry(Bridge bridge);
|
||||
}
|
||||
|
|
|
@ -929,9 +929,7 @@ public class BridgeImpl implements Bridge, SessionFailureListener, SendAcknowled
|
|||
scheduleRetryConnectFixedTimeout(this.retryInterval);
|
||||
return;
|
||||
} else {
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Bridge " + this + " is unable to connect to destination. Retrying", e);
|
||||
}
|
||||
ActiveMQServerLogger.LOGGER.errorConnectingBridgeRetry(this);
|
||||
|
||||
scheduleRetryConnect();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue