Class AmqpWSTransportFactory
- java.lang.Object
-
- org.apache.activemq.transport.TransportFactory
-
- org.apache.activemq.transport.amqp.AmqpWSTransportFactory
-
- All Implemented Interfaces:
BrokerServiceAware
public class AmqpWSTransportFactory extends TransportFactory implements BrokerServiceAware
Factory for creating WebSocket aware AMQP Transports.
-
-
Constructor Summary
Constructors Constructor Description AmqpWSTransportFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportcompositeConfigure(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 transportTransportServerdoBind(URI location)protected StringgetDefaultWireFormatType()voidsetBrokerService(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 Detail
-
AmqpWSTransportFactory
public AmqpWSTransportFactory()
-
-
Method Detail
-
getDefaultWireFormatType
protected String getDefaultWireFormatType()
- Overrides:
getDefaultWireFormatTypein classTransportFactory
-
doBind
public TransportServer doBind(URI location) throws IOException
- 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
public void setBrokerService(BrokerService brokerService)
- Specified by:
setBrokerServicein interfaceBrokerServiceAware
-
createInactivityMonitor
protected Transport createInactivityMonitor(AmqpTransportFilter transport, org.apache.activemq.wireformat.WireFormat format)
-
-