|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.model.RouteDefinitionHelper
public final class RouteDefinitionHelper
Helper for RouteDefinition
RouteDefinition before they are added to
CamelContext.
| Method Summary | |
|---|---|
static void |
initParent(ProcessorDefinition parent)
|
static void |
initParentAndErrorHandlerBuilder(ProcessorDefinition parent,
ErrorHandlerBuilder builder)
|
static void |
prepareRoute(CamelContext context,
RouteDefinition route)
Prepares the route. |
static void |
prepareRoute(CamelContext context,
RouteDefinition route,
List<OnExceptionDefinition> onExceptions,
List<InterceptDefinition> intercepts,
List<InterceptFromDefinition> interceptFromDefinitions,
List<InterceptSendToEndpointDefinition> interceptSendToEndpointDefinitions,
List<OnCompletionDefinition> onCompletions)
Prepares the route which supports context scoped features such as onException, interceptors and onCompletions This method does not mark the route as prepared afterwards. |
static void |
prepareRouteForInit(RouteDefinition route,
List<ProcessorDefinition> abstracts,
List<ProcessorDefinition> lower)
|
static void |
sanityCheckRoute(RouteDefinition route)
Sanity check the route, that it has input(s) and outputs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void initParent(ProcessorDefinition parent)
public static void initParentAndErrorHandlerBuilder(ProcessorDefinition parent,
ErrorHandlerBuilder builder)
public static void prepareRouteForInit(RouteDefinition route,
List<ProcessorDefinition> abstracts,
List<ProcessorDefinition> lower)
public static void prepareRoute(CamelContext context,
RouteDefinition route)
context - the camel contextroute - the route
public static void prepareRoute(CamelContext context,
RouteDefinition route,
List<OnExceptionDefinition> onExceptions,
List<InterceptDefinition> intercepts,
List<InterceptFromDefinition> interceptFromDefinitions,
List<InterceptSendToEndpointDefinition> interceptSendToEndpointDefinitions,
List<OnCompletionDefinition> onCompletions)
context - the camel contextroute - the routeonExceptions - optional list of onExceptionsintercepts - optional list of interceptorsinterceptFromDefinitions - optional list of interceptFromsinterceptSendToEndpointDefinitions - optional list of interceptSendToEndpointsonCompletions - optional list onCompletionspublic static void sanityCheckRoute(RouteDefinition route)
route - the route
IllegalArgumentException - is thrown if the route is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||