public interface ErrorHandlerFactory
ErrorHandler
s.Modifier and Type | Method and Description |
---|---|
Processor |
createErrorHandler(RouteContext routeContext,
Processor processor)
Creates the error handler
|
Processor createErrorHandler(RouteContext routeContext, Processor processor) throws Exception
routeContext
- the route contextprocessor
- the outer processorException
- is thrown if the error handler could not be createdApache Camel