mirror of
https://github.com/apache/activemq.git
synced 2025-02-17 07:24:51 +00:00
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.activeio.command.WireFormatFactory;
|
||||||
import org.apache.activemq.command.BrokerInfo;
|
import org.apache.activemq.command.BrokerInfo;
|
||||||
import org.apache.activemq.openwire.OpenWireFormatFactory;
|
import org.apache.activemq.openwire.OpenWireFormatFactory;
|
||||||
|
import org.apache.activemq.transport.Transport;
|
||||||
import org.apache.activemq.transport.TransportServerThreadSupport;
|
import org.apache.activemq.transport.TransportServerThreadSupport;
|
||||||
import org.apache.activemq.util.ServiceStopper;
|
import org.apache.activemq.util.ServiceStopper;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
@ -102,7 +103,8 @@ public class TcpTransportServer extends TransportServerThreadSupport {
|
|||||||
HashMap options = new HashMap();
|
HashMap options = new HashMap();
|
||||||
WireFormat format = wireFormatFactory.createWireFormat();
|
WireFormat format = wireFormatFactory.createWireFormat();
|
||||||
TcpTransport transport = new TcpTransport(format, socket);
|
TcpTransport transport = new TcpTransport(format, socket);
|
||||||
getAcceptListener().onAccept(transportFactory.configure(transport, format, options));
|
Transport configuredTransport = transportFactory.configure(transport, format, options);
|
||||||
|
getAcceptListener().onAccept(configuredTransport);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user