activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r380179 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java
Date Thu, 23 Feb 2006 18:11:54 GMT
Author: jstrachan
Date: Thu Feb 23 10:11:49 2006
New Revision: 380179

URL: http://svn.apache.org/viewcvs?rev=380179&view=rev
Log:
minor refactor for easier debugging

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

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java?rev=380179&r1=380178&r2=380179&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java
Thu Feb 23 10:11:49 2006
@@ -20,6 +20,7 @@
 import org.activeio.command.WireFormatFactory;
 import org.apache.activemq.command.BrokerInfo;
 import org.apache.activemq.openwire.OpenWireFormatFactory;
+import org.apache.activemq.transport.Transport;
 import org.apache.activemq.transport.TransportServerThreadSupport;
 import org.apache.activemq.util.ServiceStopper;
 import org.apache.commons.logging.Log;
@@ -102,7 +103,8 @@
                         HashMap options = new HashMap();
                         WireFormat format = wireFormatFactory.createWireFormat();
                         TcpTransport transport = new TcpTransport(format, socket);
-                        getAcceptListener().onAccept(transportFactory.configure(transport,
format, options));
+                        Transport configuredTransport = transportFactory.configure(transport,
format, options);
+                        getAcceptListener().onAccept(configuredTransport);
                     }
                 }
             }



Mime
View raw message