|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.activemq.transport.TransportChannelSupport
org.activemq.transport.http.HttpTransportChannelSupport
org.activemq.transport.http.HttpClientTransportChannel
public class HttpClientTransportChannel
A HTTP TransportChannel
which uses the
commons-httpclient library
Field Summary |
---|
Fields inherited from class org.activemq.transport.TransportChannelSupport |
---|
cachingEnabled, currentWireFormat, noDelay, pendingStop, transportConnected, usedInternally |
Constructor Summary | |
---|---|
HttpClientTransportChannel(org.activemq.io.TextWireFormat wireFormat,
String remoteUrl)
|
Method Summary | |
---|---|
void |
asyncSend(org.activemq.message.Packet packet)
|
protected void |
configureMethod(org.apache.commons.httpclient.HttpMethod method)
|
protected org.apache.commons.httpclient.HttpClient |
createHttpClient()
|
void |
forceDisconnect()
|
org.apache.commons.httpclient.HttpClient |
getReceiveHttpClient()
|
org.apache.commons.httpclient.HttpClient |
getSendHttpClient()
|
boolean |
isMulticast()
|
void |
run()
|
void |
setReceiveHttpClient(org.apache.commons.httpclient.HttpClient receiveHttpClient)
|
void |
setSendHttpClient(org.apache.commons.httpclient.HttpClient sendHttpClient)
|
Methods inherited from class org.activemq.transport.http.HttpTransportChannelSupport |
---|
canProcessWireFormatVersion, getClosed, getCurrentWireFormatVersion, getRemoteUrl, getStarted, getTextWireFormat, getWireFormat, setClientID, setWireFormat, start, startThread, stop, toString |
Methods inherited from class org.activemq.transport.TransportChannelSupport |
---|
addTransportStatusEventListener, asyncSendWithReceipt, doAsyncSend, doConsumePacket, doConsumePacket, doesSupportMessageCompression, doesSupportMessageFragmentation, doesSupportWireFormatVersioning, doHandleReceipt, doHandleWireFormat, fireStatusEvent, fireStatusEvent, getClientID, getEmbeddedBrokerConnector, getExceptionListener, getLastReceiptTimestamp, getPacketListener, getTransportChannelListener, isCachingEnabled, isNoDelay, isPendingStop, isServerSide, isTransportConnected, isUsedInternally, onAsyncException, removeTransportStatusEventListener, requiresEmbeddedBroker, send, send, setCachingEnabled, setExceptionListener, setNoDelay, setPacketListener, setPendingStop, setServerSide, setTransportChannelListener, setTransportConnected, setUsedInternally, setWireFormat, stopExecutor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpClientTransportChannel(org.activemq.io.TextWireFormat wireFormat, String remoteUrl)
Method Detail |
---|
public void asyncSend(org.activemq.message.Packet packet) throws JMSException
JMSException
public boolean isMulticast()
isMulticast
in interface org.activemq.transport.TransportChannel
isMulticast
in class HttpTransportChannelSupport
public void run()
public org.apache.commons.httpclient.HttpClient getSendHttpClient()
public void setSendHttpClient(org.apache.commons.httpclient.HttpClient sendHttpClient)
public org.apache.commons.httpclient.HttpClient getReceiveHttpClient()
public void setReceiveHttpClient(org.apache.commons.httpclient.HttpClient receiveHttpClient)
protected org.apache.commons.httpclient.HttpClient createHttpClient()
protected void configureMethod(org.apache.commons.httpclient.HttpMethod method)
public void forceDisconnect()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |