activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r383832 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
Date Tue, 07 Mar 2006 09:54:11 GMT
Author: jstrachan
Date: Tue Mar  7 01:54:09 2006
New Revision: 383832

URL: http://svn.apache.org/viewcvs?rev=383832&view=rev
Log:
set default timeout value of 30s

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

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java?rev=383832&r1=383831&r2=383832&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
Tue Mar  7 01:54:09 2006
@@ -46,7 +46,7 @@
 public class TcpTransport extends TransportThreadSupport implements Transport, Service, Runnable
{
     private static final Log log = LogFactory.getLog(TcpTransport.class);
 
-    private int connectionTimeout = -1;
+    private int connectionTimeout = 30000;
     private int soTimeout = 10000;
     private int socketBufferSize = 64 * 1024;
     private Socket socket;



Mime
View raw message