Interface ErrorHandlerAware
public interface ErrorHandlerAware
An interface for
Processor aware of its ErrorHandler which are wrapped via the
Channel during route initialization, or specially used by
RecipientList EIP annotation.- Since:
- 3.7
-
Method Summary
Modifier and TypeMethodDescription@Nullable ProcessorGets the error handlervoidsetErrorHandler(Processor errorHandler) Sets the error handler
-
Method Details
-
setErrorHandler
Sets the error handler- Parameters:
errorHandler- the error handler
-
getErrorHandler
@Nullable Processor getErrorHandler()Gets the error handler
-