public class HttpPollingConsumer
extends org.apache.camel.impl.PollingConsumerSupport
Constructor and Description |
---|
HttpPollingConsumer(HttpEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.httpclient.HttpMethod |
createMethod(org.apache.camel.Exchange exchange) |
protected org.apache.camel.Exchange |
doReceive(int timeout) |
protected void |
doStart() |
protected void |
doStop() |
org.apache.commons.httpclient.HttpClient |
getHttpClient() |
org.apache.camel.Exchange |
receive() |
org.apache.camel.Exchange |
receive(long timeout) |
org.apache.camel.Exchange |
receiveNoWait() |
void |
setHttpClient(org.apache.commons.httpclient.HttpClient httpClient) |
getEndpoint, getExceptionHandler, handleException, setExceptionHandler, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public HttpPollingConsumer(HttpEndpoint endpoint)
public org.apache.camel.Exchange receive()
public org.apache.camel.Exchange receive(long timeout)
public org.apache.camel.Exchange receiveNoWait()
protected org.apache.camel.Exchange doReceive(int timeout)
public org.apache.commons.httpclient.HttpClient getHttpClient()
public void setHttpClient(org.apache.commons.httpclient.HttpClient httpClient)
protected org.apache.commons.httpclient.HttpMethod createMethod(org.apache.camel.Exchange exchange)
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.ServiceSupport
Exception
Apache Camel