minor refactor for easier debugging

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380179 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-02-23 18:11:49 +00:00
parent e430412f13
commit 44613adf75
1 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@ import org.activeio.command.WireFormat;
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 @@ public class TcpTransportServer extends TransportServerThreadSupport {
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);
}
}
}