mirror of https://github.com/apache/activemq.git
improve failover transport failure message to include client port, which makes will make it easier to debug things in multi-connection clients
This commit is contained in:
parent
9735806030
commit
084d606d89
|
@ -257,7 +257,7 @@ public class FailoverTransport implements CompositeTransport {
|
||||||
if (canReconnect()) {
|
if (canReconnect()) {
|
||||||
reconnectOk = true;
|
reconnectOk = true;
|
||||||
}
|
}
|
||||||
LOG.warn("Transport (" + transport.getRemoteAddress() + ") failed, reason: " + e
|
LOG.warn("Transport (" + transport + ") failed, reason: " + e
|
||||||
+ (reconnectOk ? "," : ", not") + " attempting to automatically reconnect");
|
+ (reconnectOk ? "," : ", not") + " attempting to automatically reconnect");
|
||||||
|
|
||||||
initialized = false;
|
initialized = false;
|
||||||
|
|
Loading…
Reference in New Issue