Class AutoNioTransportFactory
java.lang.Object
org.apache.activemq.transport.TransportFactory
org.apache.activemq.transport.tcp.TcpTransportFactory
org.apache.activemq.transport.nio.NIOTransportFactory
org.apache.activemq.transport.auto.nio.AutoNioTransportFactory
- All Implemented Interfaces:
BrokerServiceAware
public class AutoNioTransportFactory
extends org.apache.activemq.transport.nio.NIOTransportFactory
implements BrokerServiceAware
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AutoTcpTransportServercreateTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory) org.apache.activemq.transport.TransportServervoidsetBrokerService(BrokerService brokerService) Methods inherited from class org.apache.activemq.transport.nio.NIOTransportFactory
createServerSocketFactory, createSocketFactory, createTcpTransport, createTransportMethods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory
compositeConfigure, createInactivityMonitor, createServerSocketFactory, createSocketFactory, createTcpTransportServer, createTransport, createTransport, createTransport, doBind, doCompositeConnect, doConnect, isUseInactivityMonitor, toSSLContextMethods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConnect, compositeConnect, compositeConnect, configure, connect, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, doConnectInternal, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure
-
Field Details
-
brokerService
-
-
Constructor Details
-
AutoNioTransportFactory
public AutoNioTransportFactory()
-
-
Method Details
-
setBrokerService
- Specified by:
setBrokerServicein interfaceBrokerServiceAware
-
createTcpTransportServer
protected AutoTcpTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException - Overrides:
createTcpTransportServerin classorg.apache.activemq.transport.nio.NIOTransportFactory- Throws:
IOExceptionURISyntaxException
-
doBind
public org.apache.activemq.transport.TransportServer doBind(URI location, org.apache.activemq.broker.SslContext sslContext) throws IOException - Overrides:
doBindin classorg.apache.activemq.transport.tcp.TcpTransportFactory- Throws:
IOException
-