mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3135 - ConnectionInfo.clientIp - a correct remote for duplex
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128280 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b12a404d5
commit
861e26c297
|
@ -347,7 +347,7 @@ public abstract class DemandForwardingBridgeSupport implements NetworkBridge, Br
|
||||||
remoteConnectionInfo.setClientId(configuration.getName() + "_" + configuration.getBrokerName() + "_outbound");
|
remoteConnectionInfo.setClientId(configuration.getName() + "_" + configuration.getBrokerName() + "_outbound");
|
||||||
remoteConnectionInfo.setUserName(configuration.getUserName());
|
remoteConnectionInfo.setUserName(configuration.getUserName());
|
||||||
remoteConnectionInfo.setPassword(configuration.getPassword());
|
remoteConnectionInfo.setPassword(configuration.getPassword());
|
||||||
remoteConnectionInfo.setClientIp(remoteBroker.getRemoteAddress());
|
remoteConnectionInfo.setClientIp(remoteBroker.toString());
|
||||||
remoteBroker.oneway(remoteConnectionInfo);
|
remoteBroker.oneway(remoteConnectionInfo);
|
||||||
|
|
||||||
SessionInfo remoteSessionInfo = new SessionInfo(remoteConnectionInfo, 1);
|
SessionInfo remoteSessionInfo = new SessionInfo(remoteConnectionInfo, 1);
|
||||||
|
|
Loading…
Reference in New Issue