public class HttpConsumer
extends org.apache.camel.impl.DefaultConsumer
implements org.apache.camel.SuspendableService
Constructor and Description |
---|
HttpConsumer(HttpCommonEndpoint endpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
HttpBinding |
getBinding() |
HttpCommonEndpoint |
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, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspending, isSuspendingOrSuspended, shutdown, start, stop
public HttpConsumer(HttpCommonEndpoint endpoint, org.apache.camel.Processor processor)
public HttpCommonEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultConsumer
public HttpBinding getBinding()
public String getPath()
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultConsumer
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultConsumer
Exception
public void suspend()
suspend
in interface org.apache.camel.SuspendableService
suspend
in class org.apache.camel.support.ServiceSupport
public void resume()
resume
in interface org.apache.camel.SuspendableService
resume
in class org.apache.camel.support.ServiceSupport
public boolean isSuspended()
isSuspended
in interface org.apache.camel.SuspendableService
isSuspended
in class org.apache.camel.support.ServiceSupport
public boolean isTraceEnabled()
public void setTraceEnabled(boolean traceEnabled)
Apache Camel