org.apache.camel.builder
Class NoErrorHandlerBuilder
java.lang.Object
org.apache.camel.builder.ErrorHandlerBuilderSupport
org.apache.camel.builder.NoErrorHandlerBuilder
- All Implemented Interfaces:
- ErrorHandlerBuilder
public class NoErrorHandlerBuilder
- extends ErrorHandlerBuilderSupport
A builder to disable the use of an error handler so that any exceptions are thrown.
This not recommended in general, the
Dead Letter Channel should be used
if you are unsure; however it can be useful sometimes to disable an error handler inside a complex route
so that exceptions bubble up to the parent Processor
- Version:
- $Revision: 43862 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoErrorHandlerBuilder
public NoErrorHandlerBuilder()
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
Copyright © 2008 IONA Open Source Community. All Rights Reserved.