Class WSTransportServer

  • All Implemented Interfaces:
    org.apache.activemq.broker.BrokerServiceAware, org.apache.activemq.Service, org.apache.activemq.transport.TransportServer
    Direct Known Subclasses:
    WSSTransportServer

    public class WSTransportServer
    extends WebTransportServerSupport
    implements org.apache.activemq.broker.BrokerServiceAware
    Creates a web server and registers web socket server
    • Constructor Detail

      • WSTransportServer

        public WSTransportServer​(URI location)
    • Method Detail

      • getSocketAddress

        public InetSocketAddress getSocketAddress()
        Specified by:
        getSocketAddress in interface org.apache.activemq.transport.TransportServer
      • setBrokerInfo

        public void setBrokerInfo​(org.apache.activemq.command.BrokerInfo brokerInfo)
        Specified by:
        setBrokerInfo in interface org.apache.activemq.transport.TransportServer
      • setConnector

        protected void setConnector​(org.eclipse.jetty.server.Connector connector)
      • setTransportOption

        public void setTransportOption​(Map<String,​Object> transportOptions)
        Overrides:
        setTransportOption in class org.apache.activemq.transport.TransportServerSupport
      • isSslServer

        public boolean isSslServer()
        Specified by:
        isSslServer in interface org.apache.activemq.transport.TransportServer
      • setBrokerService

        public void setBrokerService​(org.apache.activemq.broker.BrokerService brokerService)
        Specified by:
        setBrokerService in interface org.apache.activemq.broker.BrokerServiceAware
      • getMaxConnectionExceededCount

        public long getMaxConnectionExceededCount()
        Specified by:
        getMaxConnectionExceededCount in interface org.apache.activemq.transport.TransportServer
      • resetStatistics

        public void resetStatistics()
        Specified by:
        resetStatistics in interface org.apache.activemq.transport.TransportServer