Uses of Class
org.apache.camel.model.OnCompletionDefinition

Packages that use OnCompletionDefinition
org.apache.camel.builder The Camel Domain Specific Language for creating Routes, Predicates, Expressions and Error Handlers
org.apache.camel.model The JAXB POJOs for the XML Configuration of the routing rules. 
 

Uses of OnCompletionDefinition in org.apache.camel.builder
 

Methods in org.apache.camel.builder that return OnCompletionDefinition
 OnCompletionDefinition RouteBuilder.onCompletion()
          On completion callback for doing custom routing when the Exchange is complete.
 

Uses of OnCompletionDefinition in org.apache.camel.model
 

Methods in org.apache.camel.model that return OnCompletionDefinition
 OnCompletionDefinition OnCompletionDefinition.executorService(ExecutorService executorService)
           
 OnCompletionDefinition OnCompletionDefinition.executorServiceRef(String executorServiceRef)
           
 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.useOriginalBody()
          Will use the original input body when an Exchange for this on completion.
 

Methods in org.apache.camel.model that return types with arguments of type OnCompletionDefinition
 List<OnCompletionDefinition> RoutesDefinition.getOnCompletions()
           
 

Method parameters in org.apache.camel.model with type arguments of type OnCompletionDefinition
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