org.apache.camel.builder
Class LoggingErrorHandlerBuilder

java.lang.Object
  extended by org.apache.camel.builder.ErrorHandlerBuilderSupport
      extended by org.apache.camel.builder.LoggingErrorHandlerBuilder
All Implemented Interfaces:
ErrorHandlerBuilder

public class LoggingErrorHandlerBuilder
extends ErrorHandlerBuilderSupport

Uses the Logger as an error handler

Version:
$Revision: 36321 $

Constructor Summary
LoggingErrorHandlerBuilder()
           
LoggingErrorHandlerBuilder(Log log)
           
LoggingErrorHandlerBuilder(Log log, LoggingLevel level)
           
 
Method Summary
 ErrorHandlerBuilder copy()
          Creates a copy of this builder
 Processor createErrorHandler(Processor processor)
          Creates the error handler interceptor
 LoggingLevel getLevel()
           
 Log getLog()
           
 void setLevel(LoggingLevel level)
           
 void setLog(Log log)
           
 
Methods inherited from class org.apache.camel.builder.ErrorHandlerBuilderSupport
addErrorHandlers, configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingErrorHandlerBuilder

public LoggingErrorHandlerBuilder()

LoggingErrorHandlerBuilder

public LoggingErrorHandlerBuilder(Log log)

LoggingErrorHandlerBuilder

public LoggingErrorHandlerBuilder(Log log,
                                  LoggingLevel level)
Method Detail

copy

public ErrorHandlerBuilder copy()
Description copied from interface: ErrorHandlerBuilder
Creates a copy of this builder


createErrorHandler

public Processor createErrorHandler(Processor processor)
Description copied from interface: ErrorHandlerBuilder
Creates the error handler interceptor


getLevel

public LoggingLevel getLevel()

setLevel

public void setLevel(LoggingLevel level)

getLog

public Log getLog()

setLog

public void setLog(Log log)


Copyright © 2008 IONA Open Source Community. All Rights Reserved.