Class RedeliveryErrorHandler.SimpleTask
- java.lang.Object
-
- org.apache.camel.processor.errorhandler.RedeliveryErrorHandler.SimpleTask
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- RedeliveryErrorHandler
protected class RedeliveryErrorHandler.SimpleTask extends Object implements Runnable
Simple task to perform calling the processor with no redelivery support
-
-
Constructor Summary
Constructors Constructor Description SimpleTask(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleException()
protected void
onExceptionOccurred()
Gives an optional configured OnExceptionOccurred processor a chance to process just after an exception was thrown while processing the Exchange.protected void
prepareExchangeAfterFailure(org.apache.camel.Exchange exchange)
void
run()
Processing logic.String
toString()
-
-
-
Method Detail
-
handleException
protected void handleException()
-
onExceptionOccurred
protected void onExceptionOccurred()
Gives an optional configured OnExceptionOccurred processor a chance to process just after an exception was thrown while processing the Exchange. This allows to execute the processor at the same time the exception was thrown.
-
prepareExchangeAfterFailure
protected void prepareExchangeAfterFailure(org.apache.camel.Exchange exchange)
-
-