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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoStart()protected voiddoStop(ServiceStopper stopper) getQueue()intorg.apache.activemq.wireformat.WireFormatvoidvoidsetPeerCertificates(X509Certificate[] certificates) Methods inherited from class org.apache.activemq.transport.TransportSupport
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, onException, reconnect, request, request, setTransportListener, updateURIsMethods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.Service
start, stop
-
Field Details
-
MAX_TIMEOUT
public static final long MAX_TIMEOUT- See Also:
-
-
Constructor Details
-
BlockingQueueTransport
-
-
Method Details
-
getQueue
-
oneway
- Throws:
IOException
-
getRemoteAddress
-
doStart
- Specified by:
doStartin classServiceSupport- Throws:
Exception
-
doStop
- Specified by:
doStopin classServiceSupport- Throws:
Exception
-
getReceiveCounter
public int getReceiveCounter() -
getPeerCertificates
-
setPeerCertificates
-
getWireFormat
public org.apache.activemq.wireformat.WireFormat getWireFormat()
-