GitHub user JiriOndrusek opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2220

    [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.
    
    Issue: https://issues.apache.org/jira/browse/ARTEMIS-1946
    
    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:

    https://github.com/apache/activemq-artemis/pull/2220.patch

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
    
----
commit bd635319fe351a58ef7901882f5f76dda5a674df
Author: JiriOndrusek <jondruse@...>
Date:   2018-08-06T15:20:40Z

    [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.

----


---

Reply via email to