activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1027461 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/peer/PeerTransportFactory.java
Date Tue, 26 Oct 2010 11:01:57 GMT
Author: gtully
Date: Tue Oct 26 11:01:57 2010
New Revision: 1027461

URL: http://svn.apache.org/viewvc?rev=1027461&view=rev
Log:
resolve https://issues.apache.org/activemq/browse/AMQ-2999 - use widlcard address for tcp
connector

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/peer/PeerTransportFactory.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/peer/PeerTransportFactory.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/peer/PeerTransportFactory.java?rev=1027461&r1=1027460&r2=1027461&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/peer/PeerTransportFactory.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/peer/PeerTransportFactory.java
Tue Oct 26 11:01:57 2010
@@ -91,7 +91,7 @@ public class PeerTransportFactory extend
                     BrokerService service = new BrokerService();
                     IntrospectionSupport.setProperties(service, brokerOptions);
                     service.setBrokerName(finalBroker);
-                    TransportConnector c = service.addConnector("tcp://localhost:0");
+                    TransportConnector c = service.addConnector("tcp://0.0.0.0:0");
                     c.setDiscoveryUri(new URI("multicast://default?group=" + finalGroup));
                     service.addNetworkConnector("multicast://default?group=" + finalGroup);
                     return service;



Mime
View raw message