[GitHub] activemq-artemis pull request #2220: [ARTEMIS-1946] Cluster with allow-direc...
GitHub user JiriOndrusek opened a pull request:
[ARTEMIS-1946] Cluster with allow-direct-connections-only="true" and â?¦
â?¦localAddress in netty connections with allow-direct-connections-only="true" prevents core bridge to be created.
LocalAddress and localPort have to be removed from org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl.allowableConnections in order to compare correctly TransportConfiguration during detection of direct connection (these TransportConfiguration don't contain local addresses/ports other nodes)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JiriOndrusek/activemq-artemis ARTEMIS-1946_direct-bridge
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2220
Author: JiriOndrusek <jondruse@...>
[ARTEMIS-1946] Cluster with allow-direct-connections-only="true" and localAddress in netty connections with allow-direct-connections-only="true" prevents core bridge to be created.