org.apache.camel.builder
Class NoErrorHandlerBuilder<E extends Exchange>
java.lang.Object
org.apache.camel.builder.NoErrorHandlerBuilder<E>
- All Implemented Interfaces:
- ErrorHandlerBuilder<E>
public class NoErrorHandlerBuilder<E extends Exchange>
- extends Object
- implements ErrorHandlerBuilder<E>
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: 534145 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoErrorHandlerBuilder
public NoErrorHandlerBuilder()
copy
public ErrorHandlerBuilder<E> copy()
- Description copied from interface:
ErrorHandlerBuilder
- Creates a copy of this builder
- Specified by:
copy
in interface ErrorHandlerBuilder<E extends Exchange>
createErrorHandler
public Processor createErrorHandler(Processor processor)
- Description copied from interface:
ErrorHandlerBuilder
- Creates the error handler interceptor
- Specified by:
createErrorHandler
in interface ErrorHandlerBuilder<E extends Exchange>
Copyright © 2007 Apache Software Foundation. All Rights Reserved.