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.TransportServerOverriding to use SslTransportServer and allow for proper reflection.voidsetBrokerService(BrokerService brokerService) Methods inherited from class org.apache.activemq.transport.tcp.SslTransportFactory
compositeConfigure, createServerSocketFactory, createSocketFactory, createSslTransportServer, createTransport, createTransportMethods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory
createInactivityMonitor, createTcpTransport, createTcpTransportServer, createTransport, isUseInactivityMonitorMethods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure
-
Field Details
-
brokerService
-
-
Constructor Details
-
AutoSslTransportFactory
public AutoSslTransportFactory()
-
-
Method Details
-
setBrokerService
- Specified by:
setBrokerServicein interfaceBrokerServiceAware
-
doBind
Overriding to use SslTransportServer and allow for proper reflection.- Overrides:
doBindin classorg.apache.activemq.transport.tcp.SslTransportFactory- 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
-