public class BlockingQueueTransport extends org.apache.activemq.transport.TransportSupport
Queue so that they can be dispatched
by the HTTP GET requests from the client.| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_TIMEOUT |
| Constructor and Description |
|---|
BlockingQueueTransport(BlockingQueue<Object> channel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop(org.apache.activemq.util.ServiceStopper stopper) |
X509Certificate[] |
getPeerCertificates() |
BlockingQueue<Object> |
getQueue() |
int |
getReceiveCounter() |
String |
getRemoteAddress() |
org.apache.activemq.wireformat.WireFormat |
getWireFormat() |
void |
oneway(Object command) |
void |
setPeerCertificates(X509Certificate[] certificates) |
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, onException, reconnect, request, request, setTransportListener, updateURIsaddServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stoppublic static final long MAX_TIMEOUT
public BlockingQueueTransport(BlockingQueue<Object> channel)
public BlockingQueue<Object> getQueue()
public void oneway(Object command) throws IOException
IOExceptionpublic String getRemoteAddress()
protected void doStart() throws Exception
doStart in class org.apache.activemq.util.ServiceSupportExceptionprotected void doStop(org.apache.activemq.util.ServiceStopper stopper) throws Exception
doStop in class org.apache.activemq.util.ServiceSupportExceptionpublic int getReceiveCounter()
public X509Certificate[] getPeerCertificates()
public void setPeerCertificates(X509Certificate[] certificates)
public org.apache.activemq.wireformat.WireFormat getWireFormat()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.