Class AutoSslTransportFactory
java.lang.Object
org.apache.activemq.transport.TransportFactory
org.apache.activemq.transport.tcp.TcpTransportFactory
org.apache.activemq.transport.tcp.SslTransportFactory
org.apache.activemq.transport.auto.AutoSslTransportFactory
- All Implemented Interfaces:
BrokerServiceAware
public class AutoSslTransportFactory
extends org.apache.activemq.transport.tcp.SslTransportFactory
implements BrokerServiceAware
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AutoSslTransportServercreateAutoSslTransportServer(URI location, SSLServerSocketFactory serverSocketFactory) Allows subclasses of SslTransportFactory to create custom instances of SslTransportServer.org.apache.activemq.transport.TransportServervoidsetBrokerService(BrokerService brokerService) Methods inherited from class org.apache.activemq.transport.tcp.SslTransportFactory
compositeConfigure, createServerSocketFactory, createServerSocketFactory, createSocketFactory, createSocketFactory, createSslTransportServer, createTcpTransport, createTcpTransportServer, createTransportMethods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory
createInactivityMonitor, 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
-
AutoSslTransportFactory
public AutoSslTransportFactory()
-
-
Method Details
-
setBrokerService
- Specified by:
setBrokerServicein interfaceBrokerServiceAware
-
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
-
createAutoSslTransportServer
protected AutoSslTransportServer createAutoSslTransportServer(URI location, SSLServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException Allows subclasses of SslTransportFactory to create custom instances of SslTransportServer.- Parameters:
location-serverSocketFactory-- Returns:
- Throws:
IOExceptionURISyntaxException
-