org.apache.activemq.transport.http
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.
| Methods inherited from class org.apache.activemq.transport.TransportSupport |
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, onException, reconnect, request, request, setTransportListener, updateURIs |
| Methods inherited from class org.apache.activemq.util.ServiceSupport |
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.activemq.Service |
start, stop |
MAX_TIMEOUT
public static final long MAX_TIMEOUT
- See Also:
- Constant Field Values
BlockingQueueTransport
public BlockingQueueTransport(BlockingQueue<Object> channel)
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()
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.