public class HttpConsumer
extends org.apache.camel.impl.DefaultConsumer
implements org.apache.camel.SuspendableService
| Constructor and Description |
|---|
HttpConsumer(HttpEndpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
HttpBinding |
getBinding() |
HttpEndpoint |
getEndpoint() |
String |
getPath() |
boolean |
isSuspended() |
boolean |
isTraceEnabled() |
void |
resume() |
void |
setTraceEnabled(boolean traceEnabled) |
void |
suspend() |
createUoW, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspending, shutdown, start, stoppublic HttpConsumer(HttpEndpoint endpoint, org.apache.camel.Processor processor)
public HttpEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.ConsumergetEndpoint in class org.apache.camel.impl.DefaultConsumerpublic HttpBinding getBinding()
public String getPath()
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultConsumerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.impl.DefaultConsumerExceptionpublic void suspend()
suspend in interface org.apache.camel.SuspendableServicesuspend in class org.apache.camel.support.ServiceSupportpublic void resume()
resume in interface org.apache.camel.SuspendableServiceresume in class org.apache.camel.support.ServiceSupportpublic boolean isSuspended()
isSuspended in interface org.apache.camel.SuspendableServiceisSuspended in class org.apache.camel.support.ServiceSupportpublic boolean isTraceEnabled()
public void setTraceEnabled(boolean traceEnabled)
Apache Camel