Package | Description |
---|---|
org.apache.camel.builder | |
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
Modifier and Type | Method and Description |
---|---|
OnCompletionDefinition |
RouteBuilder.onCompletion()
On completion
callback for doing custom routing when the
Exchange is complete. |
Modifier and Type | Method and Description |
---|---|
OnCompletionDefinition |
OnCompletionDefinition.executorService(ExecutorService executorService)
To use a custom Thread Pool to be used for parallel processing.
|
OnCompletionDefinition |
OnCompletionDefinition.executorServiceRef(String executorServiceRef)
Refers to a custom Thread Pool to be used for parallel processing.
|
OnCompletionDefinition |
OnCompletionDefinition.modeAfterConsumer()
Sets the mode to be after route is done (default due backwards compatible).
|
OnCompletionDefinition |
OnCompletionDefinition.modeBeforeConsumer()
Sets the mode to be before consumer is done.
|
OnCompletionDefinition |
OnCompletionDefinition.onCompleteOnly()
Will only synchronize when the
Exchange completed successfully (no errors). |
OnCompletionDefinition |
RoutesDefinition.onCompletion()
Adds an on completion
|
OnCompletionDefinition |
ProcessorDefinition.onCompletion()
Adds a onComplection
Synchronization hook that invoke this route as
a callback when the Exchange has finished being processed. |
OnCompletionDefinition |
OnCompletionDefinition.onFailureOnly()
Will only synchronize when the
Exchange ended with failure (exception or FAULT message). |
OnCompletionDefinition |
OnCompletionDefinition.onWhen(Predicate predicate)
Sets an additional predicate that should be true before the onCompletion is triggered.
|
OnCompletionDefinition |
OnCompletionDefinition.parallelProcessing()
If enabled then the on completion process will run asynchronously by a separate thread from a thread pool.
|
OnCompletionDefinition |
OnCompletionDefinition.parallelProcessing(boolean parallelProcessing)
If enabled then the on completion process will run asynchronously by a separate thread from a thread pool.
|
OnCompletionDefinition |
OnCompletionDefinition.useOriginalBody()
Will use the original input body when an
Exchange for this on completion. |
Modifier and Type | Method and Description |
---|---|
List<OnCompletionDefinition> |
RoutesDefinition.getOnCompletions() |
Modifier and Type | Method and Description |
---|---|
static void |
RouteDefinitionHelper.prepareRoute(ModelCamelContext 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.
|
void |
RoutesDefinition.setOnCompletions(List<OnCompletionDefinition> onCompletions) |
Apache Camel