mirror of https://github.com/apache/activemq.git
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:
parent
e430412f13
commit
44613adf75
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue