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
|
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, 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, 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
Apache Camel