|
||||||||||
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 |
initParent(RouteDefinition route)
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void initParent(RouteDefinition route)
public static void initParent(ProcessorDefinition parent)
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 routepublic 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 onCompletions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |