public abstract class PollingConsumerSupport
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.PollingConsumer
PollingConsumer| Constructor and Description |
|---|
PollingConsumerSupport(org.apache.camel.Endpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Exchange |
createExchange(boolean autoRelease) |
org.apache.camel.Endpoint |
getEndpoint() |
org.apache.camel.spi.ExceptionHandler |
getExceptionHandler() |
org.apache.camel.Processor |
getProcessor() |
protected void |
handleException(Throwable t)
Handles the given exception using the
getExceptionHandler() |
void |
releaseExchange(org.apache.camel.Exchange exchange,
boolean autoRelease) |
void |
setExceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler) |
String |
toString() |
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doStart, doStop, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic PollingConsumerSupport(org.apache.camel.Endpoint endpoint)
public org.apache.camel.Endpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwarepublic org.apache.camel.Processor getProcessor()
getProcessor in interface org.apache.camel.Consumerpublic org.apache.camel.Exchange createExchange(boolean autoRelease)
createExchange in interface org.apache.camel.Consumerpublic void releaseExchange(org.apache.camel.Exchange exchange,
boolean autoRelease)
releaseExchange in interface org.apache.camel.Consumerpublic org.apache.camel.spi.ExceptionHandler getExceptionHandler()
public void setExceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
protected void handleException(Throwable t)
getExceptionHandler()t - the exception to handleApache Camel