Package org.apache.camel.spi
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.-
Method Summary
Modifier and TypeMethodDescriptionGets the error handlervoid
setErrorHandler
(Processor errorHandler) Sets the error handler
-
Method Details
-
setErrorHandler
Sets the error handler- Parameters:
errorHandler
- the error handler
-
getErrorHandler
Processor getErrorHandler()Gets the error handler
-