org.apache.camel
Interface ErrorHandlerFactory

All Known Subinterfaces:
ErrorHandlerBuilder
All Known Implementing Classes:
DeadLetterChannelBuilder, DefaultErrorHandlerBuilder, ErrorHandlerBuilderRef, ErrorHandlerBuilderSupport, LoggingErrorHandlerBuilder, NoErrorHandlerBuilder

public interface ErrorHandlerFactory

Factory for creating ErrorHandlers.


Method Summary
 Processor createErrorHandler(RouteContext routeContext, Processor processor)
          Creates the error handler
 

Method Detail

createErrorHandler

Processor createErrorHandler(RouteContext routeContext,
                             Processor processor)
                             throws Exception
Creates the error handler

Parameters:
routeContext - the route context
processor - the outer processor
Returns:
the error handler
Throws:
Exception - is thrown if the error handler could not be created


Apache CAMEL