Package com.adaptris.core
Interface ProcessingExceptionHandler
-
- All Superinterfaces:
AdaptrisComponent
,ComponentLifecycle
,ComponentLifecycleExtension
,ErrorHandlerRegistrar
- All Known Implementing Classes:
NullProcessingExceptionHandler
,RetryMessageErrorHandler
,RetryMessageErrorHandlerImp
,RootProcessingExceptionHandler
,StandardProcessingExceptionHandler
public interface ProcessingExceptionHandler extends AdaptrisComponent, ErrorHandlerRegistrar
Standard interface for handling errors during processing of a message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleProcessingException(AdaptrisMessage msg)
Handles a message that has deemed to have failed.boolean
hasConfiguredBehaviour()
Simply report back to the owning component whether or not this ProcessingExceptionHandler is actually going to do anything.void
registerWorkflow(Workflow w)
Register a workflow against this error handler.-
Methods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueId
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
Methods inherited from interface com.adaptris.core.ComponentLifecycleExtension
prepare
-
Methods inherited from interface com.adaptris.core.ErrorHandlerRegistrar
notifyParent, onChildError, registerDigester, registerParent
-
-
-
-
Method Detail
-
handleProcessingException
void handleProcessingException(AdaptrisMessage msg)
Handles a message that has deemed to have failed.
-
registerWorkflow
void registerWorkflow(Workflow w)
Register a workflow against this error handler.- Parameters:
w
- the workflow to register.
-
hasConfiguredBehaviour
boolean hasConfiguredBehaviour()
Simply report back to the owning component whether or not this ProcessingExceptionHandler is actually going to do anything.- Returns:
- true if there is actual concrete behaviour to this implementation.
-
-