Class AmqpWSTransportFactory
java.lang.Object
org.apache.activemq.transport.TransportFactory
org.apache.activemq.transport.amqp.AmqpWSTransportFactory
- All Implemented Interfaces:
BrokerServiceAware
Factory for creating WebSocket aware AMQP Transports.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompositeConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, Map options) protected TransportcreateInactivityMonitor(AmqpTransportFilter transport, org.apache.activemq.wireformat.WireFormat format) protected TransportcreateTransport(URI location, org.apache.activemq.wireformat.WireFormat wireFormat) Factory method to create a new transportprotected StringvoidsetBrokerService(BrokerService brokerService) Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getOption, registerTransportFactory, serverConfigure
-
Constructor Details
-
AmqpWSTransportFactory
public AmqpWSTransportFactory()
-
-
Method Details
-
getDefaultWireFormatType
- Overrides:
getDefaultWireFormatTypein classTransportFactory
-
doBind
- Specified by:
doBindin classTransportFactory- Throws:
IOException
-
compositeConfigure
public Transport compositeConfigure(Transport transport, org.apache.activemq.wireformat.WireFormat format, Map options) - Overrides:
compositeConfigurein classTransportFactory
-
createTransport
protected Transport createTransport(URI location, org.apache.activemq.wireformat.WireFormat wireFormat) throws MalformedURLException, UnknownHostException, IOException Factory method to create a new transport- Overrides:
createTransportin classTransportFactory- Throws:
IOExceptionUnknownHostExceptionMalformedURLException
-
setBrokerService
- Specified by:
setBrokerServicein interfaceBrokerServiceAware
-
createInactivityMonitor
protected Transport createInactivityMonitor(AmqpTransportFilter transport, org.apache.activemq.wireformat.WireFormat format)
-