org.apache.camel.builder
Class LoggingErrorHandlerBuilder
java.lang.Object
org.apache.camel.builder.ErrorHandlerBuilderSupport
org.apache.camel.builder.LoggingErrorHandlerBuilder
- All Implemented Interfaces:
- ErrorHandlerBuilder
public class LoggingErrorHandlerBuilder
- extends ErrorHandlerBuilderSupport
Uses the Logger
as an error handler, will log at ERROR level by default.
- Version:
- $Revision: 61064 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingErrorHandlerBuilder
public LoggingErrorHandlerBuilder()
LoggingErrorHandlerBuilder
public LoggingErrorHandlerBuilder(org.apache.commons.logging.Log log)
LoggingErrorHandlerBuilder
public LoggingErrorHandlerBuilder(org.apache.commons.logging.Log log,
LoggingLevel level)
copy
public ErrorHandlerBuilder copy()
- Description copied from interface:
ErrorHandlerBuilder
- Creates a copy of this builder
createErrorHandler
public Processor createErrorHandler(RouteContext routeContext,
Processor processor)
- Description copied from interface:
ErrorHandlerBuilder
- Creates the error handler interceptor
getLevel
public LoggingLevel getLevel()
setLevel
public void setLevel(LoggingLevel level)
getLog
public org.apache.commons.logging.Log getLog()
setLog
public void setLog(org.apache.commons.logging.Log log)
level
public LoggingErrorHandlerBuilder level(LoggingLevel level)
log
public LoggingErrorHandlerBuilder log(org.apache.commons.logging.Log log)
Copyright © 2008 IONA Open Source Community. All Rights Reserved.