activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r982962 - in /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport: tcp/TcpTransport.java udp/UdpTransport.java
Date Fri, 06 Aug 2010 13:50:59 GMT
Author: gtully
Date: Fri Aug  6 13:50:58 2010
New Revision: 982962

URL: http://svn.apache.org/viewvc?rev=982962&view=rev
Log:
resolve: https://issues.apache.org/activemq/browse/AMQ-2771 - it does not makes sense to have
a hack for osx enabled by defaultm it is counter intuitive, can be enabled via transport option
useLocalHost if needed in special cases

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransport.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java?rev=982962&r1=982961&r2=982962&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
Fri Aug  6 13:50:58 2010
@@ -122,7 +122,7 @@ public class TcpTransport extends Transp
      * and want to control both via JMX; a different port will be needed.
      */
     protected int jmxPort = 1099;
-    protected boolean useLocalHost = true;
+    protected boolean useLocalHost = false;
     protected int minmumWireFormatVersion;
     protected SocketFactory socketFactory;
     protected final AtomicReference<CountDownLatch> stoppedLatch = new AtomicReference<CountDownLatch>();

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransport.java?rev=982962&r1=982961&r2=982962&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransport.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransport.java
Fri Aug  6 13:50:58 2010
@@ -65,7 +65,7 @@ public class UdpTransport extends Transp
     private SocketAddress originalTargetAddress;
     private DatagramChannel channel;
     private boolean trace;
-    private boolean useLocalHost = true;
+    private boolean useLocalHost = false;
     private int port;
     private int minmumWireFormatVersion;
     private String description;



Mime
View raw message