Class BlockingQueueTransport

java.lang.Object
org.apache.activemq.util.ServiceSupport
org.apache.activemq.transport.TransportSupport
org.apache.activemq.transport.http.BlockingQueueTransport
All Implemented Interfaces:
org.apache.activemq.Service, org.apache.activemq.transport.Transport

public class BlockingQueueTransport extends org.apache.activemq.transport.TransportSupport
A server side HTTP based TransportChannel which processes incoming packets and adds outgoing packets onto a Queue so that they can be dispatched by the HTTP GET requests from the client.
  • Field Details

  • Constructor Details

  • Method Details

    • getQueue

      public BlockingQueue<Object> getQueue()
    • oneway

      public void oneway(Object command) throws IOException
      Throws:
      IOException
    • getRemoteAddress

      public String getRemoteAddress()
    • doStart

      protected void doStart() throws Exception
      Specified by:
      doStart in class org.apache.activemq.util.ServiceSupport
      Throws:
      Exception
    • doStop

      protected void doStop(org.apache.activemq.util.ServiceStopper stopper) throws Exception
      Specified by:
      doStop in class org.apache.activemq.util.ServiceSupport
      Throws:
      Exception
    • getReceiveCounter

      public int getReceiveCounter()
    • getPeerCertificates

      public X509Certificate[] getPeerCertificates()
    • setPeerCertificates

      public void setPeerCertificates(X509Certificate[] certificates)
    • getWireFormat

      public org.apache.activemq.wireformat.WireFormat getWireFormat()