org.apache.camel.builder
Class NoRouteBuilder
java.lang.Object
org.apache.camel.builder.BuilderSupport
org.apache.camel.builder.RouteBuilder
org.apache.camel.builder.NoRouteBuilder
- All Implemented Interfaces:
- RoutesBuilder
public class NoRouteBuilder
- extends RouteBuilder
A helper class, usually used for testing which does not create any routes.
- Version:
- $Revision: 663018 $
Method Summary |
void |
configure()
Called on initialization to build the routes using the fluent builder syntax.
This is a central method for RouteBuilder implementations to implement
the routes using the Java fluent builder syntax. |
static NoRouteBuilder |
getInstance()
|
Methods inherited from class org.apache.camel.builder.RouteBuilder |
addRoutes, addRoutesToCamelContext, checkInitialized, configureRoute, createContainer, errorHandler, from, from, from, from, fromF, getContext, getRouteCollection, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRoutes, setErrorHandlerBuilder, setRouteCollection, toString |
Methods inherited from class org.apache.camel.builder.BuilderSupport |
bean, bean, bean, bean, body, body, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, faultBody, faultBodyAs, getErrorHandlerBuilder, header, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, noErrorHandler, outBody, outBody, property, regexReplaceAll, regexReplaceAll, sendTo, setContext, systemProperty, systemProperty |
NoRouteBuilder
public NoRouteBuilder()
getInstance
public static NoRouteBuilder getInstance()
configure
public void configure()
throws Exception
- Description copied from class:
RouteBuilder
- Called on initialization to build the routes using the fluent builder syntax.
This is a central method for RouteBuilder implementations to implement
the routes using the Java fluent builder syntax.
- Specified by:
configure
in class RouteBuilder
- Throws:
Exception
- can be thrown during configuration
Apache CAMEL