public class NoErrorHandler extends ErrorHandlerSupport implements org.apache.camel.AsyncProcessor, org.apache.camel.spi.ErrorHandler
DEFAULT_EXCHANGE_FORMATTER, exceptionPolicies, exceptionPolicy
Constructor and Description |
---|
NoErrorHandler(org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.spi.ErrorHandler |
clone(org.apache.camel.Processor output)
Clones the current error handler and changes the output
|
protected void |
doBuild() |
protected void |
doInit() |
protected void |
doShutdown() |
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.Processor |
getOutput()
Gets the output
|
void |
process(org.apache.camel.Exchange exchange) |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
CompletableFuture<org.apache.camel.Exchange> |
processAsync(org.apache.camel.Exchange exchange) |
boolean |
supportTransacted()
Whether this error handler supports transacted exchanges or not.
|
String |
toString() |
addErrorHandler, addExceptionPolicy, getExceptionPolicy, isDeadLetterChannel
addChildService, removeChildService, shutdown, start, stop
build, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public void process(org.apache.camel.Exchange exchange) throws Exception
process
in interface org.apache.camel.Processor
Exception
public boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
process
in interface org.apache.camel.AsyncProcessor
public CompletableFuture<org.apache.camel.Exchange> processAsync(org.apache.camel.Exchange exchange)
processAsync
in interface org.apache.camel.AsyncProcessor
public boolean supportTransacted()
ErrorHandlerSupport
supportTransacted
in class ErrorHandlerSupport
public org.apache.camel.Processor getOutput()
ErrorHandlerSupport
getOutput
in class ErrorHandlerSupport
public org.apache.camel.spi.ErrorHandler clone(org.apache.camel.Processor output)
ErrorHandlerSupport
clone
in class ErrorHandlerSupport
protected void doBuild() throws Exception
doBuild
in class org.apache.camel.support.service.BaseService
Exception
protected void doInit() throws Exception
doInit
in class org.apache.camel.support.service.BaseService
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.service.BaseService
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.service.BaseService
Exception
Apache Camel