Uses of Class
org.apache.camel.model.ProcessorDefinition
Packages that use ProcessorDefinition
Package
Description
The JAXB POJOs for the XML Configuration of the routing
rules.
The JAXB POJOs for the remote service call DSL
-
Uses of ProcessorDefinition in org.apache.camel.builder
Classes in org.apache.camel.builder with type parameters of type ProcessorDefinitionModifier and TypeClassDescriptionclassAdviceWithBuilder<T extends ProcessorDefinition<?>>A builder when using the advice with feature.classDataFormatClause<T extends ProcessorDefinition<?>>An expression for constructing the different possibleDataFormatoptions.classEnrichClause<T extends ProcessorDefinition<?>>Methods in org.apache.camel.builder with type parameters of type ProcessorDefinitionModifier and TypeMethodDescription<T extends ProcessorDefinition<?>>
ProcessorDefinition<?>AdviceWithRouteBuilder.weaveAddFirst()Weaves by adding the nodes to the start of the route (excl onException etc).<T extends ProcessorDefinition<?>>
ProcessorDefinition<?>AdviceWithRouteBuilder.weaveAddLast()Weaves by adding the nodes to the end of the route (excl onException etc).<T extends ProcessorDefinition<?>>
AdviceWithBuilder<T>Weaves by matching id of the nodes in the route (incl onException etc).<T extends ProcessorDefinition<?>>
AdviceWithBuilder<T>AdviceWithRouteBuilder.weaveByToString(String pattern) Weaves by matching the to string representation of the nodes in the route (incl onException etc).<T extends ProcessorDefinition<?>>
AdviceWithBuilder<T>AdviceWithRouteBuilder.weaveByToUri(String pattern) Weaves by matching sending to endpoints with the given uri of the nodes in the route (incl onException etc).<T extends ProcessorDefinition<?>>
AdviceWithBuilder<T>AdviceWithRouteBuilder.weaveByType(Class<T> type) Weaves by matching type of the nodes in the route (incl onException etc).Methods in org.apache.camel.builder that return ProcessorDefinitionModifier and TypeMethodDescriptionAdviceWithBuilder.after()Insert the following node(s) after the matched node(s)AdviceWithBuilder.before()Insert the following node(s) before the matched node(s)AdviceWithBuilder.replace()Replaces the matched node(s) with the following nodes.<T extends ProcessorDefinition<?>>
ProcessorDefinition<?>AdviceWithRouteBuilder.weaveAddFirst()Weaves by adding the nodes to the start of the route (excl onException etc).<T extends ProcessorDefinition<?>>
ProcessorDefinition<?>AdviceWithRouteBuilder.weaveAddLast()Weaves by adding the nodes to the end of the route (excl onException etc).Methods in org.apache.camel.builder with parameters of type ProcessorDefinitionModifier and TypeMethodDescriptionstatic AdviceWithTaskAdviceWithTasks.afterById(RouteDefinition route, String id, ProcessorDefinition<?> after, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.afterByToString(RouteDefinition route, String toString, ProcessorDefinition<?> after, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.afterByToUri(RouteDefinition route, String toUri, ProcessorDefinition<?> after, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.afterByType(RouteDefinition route, Class<?> type, ProcessorDefinition<?> after, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.beforeById(RouteDefinition route, String id, ProcessorDefinition<?> before, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.beforeByToString(RouteDefinition route, String toString, ProcessorDefinition<?> before, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.beforeByToUri(RouteDefinition route, String toUri, ProcessorDefinition<?> before, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.beforeByType(RouteDefinition route, Class<?> type, ProcessorDefinition<?> before, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.replaceById(RouteDefinition route, String id, ProcessorDefinition<?> replace, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.replaceByToString(RouteDefinition route, String toString, ProcessorDefinition<?> replace, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.replaceByToUri(RouteDefinition route, String toUri, ProcessorDefinition<?> replace, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) static AdviceWithTaskAdviceWithTasks.replaceByType(RouteDefinition route, Class<?> type, ProcessorDefinition<?> replace, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo, int maxDeep) -
Uses of ProcessorDefinition in org.apache.camel.model
Classes in org.apache.camel.model with type parameters of type ProcessorDefinitionModifier and TypeInterfaceDescriptioninterfaceAggregationStrategyAwareDefinition<Type extends ProcessorDefinition<?>>Enables definitions to supportAggregationStrategyclassDynamicRouterDefinition<Type extends ProcessorDefinition<Type>>Route messages based on dynamic rulesinterfaceExecutorServiceAwareDefinition<Type extends ProcessorDefinition<?>>Enables definitions to support concurrency usingExecutorServiceclassNoOutputDefinition<Type extends ProcessorDefinition<Type>>Base class for definitions which does not support outputs.classOutputDefinition<Type extends ProcessorDefinition<Type>>A useful base class for output typesclassProcessorDefinition<Type extends ProcessorDefinition<Type>>Base class for processor types that most XML types extend.classRecipientListDefinition<Type extends ProcessorDefinition<Type>>Route messages to a number of dynamically specified recipientsclassRoutingSlipDefinition<Type extends ProcessorDefinition<Type>>Routes a message through a series of steps that are pre-determined (the slip)classSendDefinition<Type extends ProcessorDefinition<Type>>Sends the message to an endpointclassWireTapDefinition<Type extends ProcessorDefinition<Type>>Routes a copy of a message (or creates a new message) to a secondary destination while continue routing the original message.Subclasses of ProcessorDefinition in org.apache.camel.modelModifier and TypeClassDescriptionclassTemporary model used internally by advice-withclassAggregates many messages into a single messageclassCalls a Java beanclassCatches exceptions as part of a try, catch, finally blockclassRoute messages based on a series of predicatesclassRoute messages in a fault tolerance way using Circuit BreakerclassThe Claim Check EIP allows you to replace message content with a claim check (a unique key), which can be used to retrieve the message content at a later time.classConverts the message body to another typeclassDelays processing for a specified length of timeclassDynamicRouterDefinition<Type extends ProcessorDefinition<Type>>Route messages based on dynamic rulesclassEnriches a message with data from a secondary resourceclassA baseExpressionNodewhich does not support any outputs.classFilter out messages based using a predicateclassPath traversed when a try, catch, finally block exitsclassFilters out duplicate messagesclassIntercepts a message at each step in the routeclassIntercepts incoming messagesclassIntercepts messages being sent to an endpointclassTo call Kamelets in special situationsclassBalances message processing among a number of nodesclassLogs the defined message to the loggerclassProcesses a message multiple timesclassMarshals data into a specified format for transmission over a transport or componentclassRoutes the same message to multiple paths either sequentially or in parallel.classNoOutputDefinition<Type extends ProcessorDefinition<Type>>Base class for definitions which does not support outputs.classRoute to be executed when normal route processing completesclassRoute to be executed when an exception is thrownclassRoute to be executed when Circuit Breaker EIP executes fallbackclassRoute to be executed when all other choices evaluate to falseclassOutputDefinition<Type extends ProcessorDefinition<Type>>A useful base class for output typesclassA base class for nodes which contain an expression and a number of outputs.classPausable EIP to support resuming processing from last known offset.classRoutes the message to a sequence of processors.classDefines a policy the route will useclassEnriches messages with data polled from a secondary resourceclassCalls a Camel processorclassRecipientListDefinition<Type extends ProcessorDefinition<Type>>Route messages to a number of dynamically specified recipientsclassRemoves a named header from the messageclassRemoves message headers whose name matches a specified patternclassRemoves message exchange properties whose name matches a specified patternclassRemoves a named property from the message exchangeclassResequences (re-order) messages based on an expressionclassResume EIP to support resuming processing from last known offset.classForces a rollback by stopping routing the messageclassA Camel routeclassRoutingSlipDefinition<Type extends ProcessorDefinition<Type>>Routes a message through a series of steps that are pre-determined (the slip)classAllows to declare saga actions to complete or compensate a sagaclassEnables Sagas on the routeclassExtract a sample of the messages passing through a routeclassExecutes a script from a language which does not change the message body.classSendDefinition<Type extends ProcessorDefinition<Type>>Sends the message to an endpointclassSets the contents of the message bodyclassSets the exchange pattern on the message exchangeclassSets the value of a message headerclassSets a named property on the message exchangeclassSorts the contents of the messageclassSplits a single message into many sub-messages.classRoutes the message to a sequence of processors which is grouped together as one logical nameclassStops the processing of the current messageclassSpecifies that all steps after this node are processed asynchronouslyclassControls the rate at which messages are passed to the next node in the routeclassThrows an exceptionclassSends the message to a static endpointclassSends the message to a dynamic endpointclassEnables transaction on the routeclassTransforms the message body based on an expressionclassMarks the beginning of a try, catch, finally blockclassConverts the message data received from the wire into a format that Apache Camel processors can consumeclassValidates a message based on an expressionclassTriggers a route when the expression evaluates to trueclassPredicate to determine if the message should be sent or not to the endpoint, when using interceptSentToEndpoint.classWireTapDefinition<Type extends ProcessorDefinition<Type>>Routes a copy of a message (or creates a new message) to a secondary destination while continue routing the original message.Fields in org.apache.camel.model with type parameters of type ProcessorDefinitionMethods in org.apache.camel.model with type parameters of type ProcessorDefinitionModifier and TypeMethodDescriptionstatic <T extends ProcessorDefinition>
TProcessorDefinitionHelper.findFirstParentOfType(Class<T> parentType, ProcessorDefinition<?> node, boolean recursive) Is the given node parent(s) of the given type<T extends ProcessorDefinition<T>>
TModel.getProcessorDefinition(String id, Class<T> type) Gets the processor definition from any of the routes which with the given idMethods in org.apache.camel.model that return ProcessorDefinitionModifier and TypeMethodDescriptionChoiceDefinition.end()CircuitBreakerDefinition.end()OnCompletionDefinition.end()ProcessorDefinition.end()Ends the current blockProcessorDefinition.endParent()Strategy to allowProcessorDefinitions to have special logic when using end() in the DSL to return back to the intended parent.WhenDefinition.endParent()ProcessorDefinition.getParent()Model.getProcessorDefinition(String id) Gets the processor definition from any of the routes which with the given idprotected ProcessorDefinition<?>TryDefinition.onEndDoTry()Methods in org.apache.camel.model that return types with arguments of type ProcessorDefinitionModifier and TypeMethodDescriptionProcessorDefinition.enrichWith(String resourceUri) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder.ProcessorDefinition.enrichWith(String resourceUri, boolean aggregateOnException) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder.ProcessorDefinition.enrichWith(String resourceUri, boolean aggregateOnException, boolean shareUnitOfWork) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder.ProcessorDefinition.enrichWith(EndpointProducerBuilder resourceUri) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder.ProcessorDefinition.enrichWith(EndpointProducerBuilder resourceUri, boolean aggregateOnException) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder.ProcessorDefinition.enrichWith(EndpointProducerBuilder resourceUri, boolean aggregateOnException, boolean shareUnitOfWork) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder.AggregateDefinition.getOutputs()CatchDefinition.getOutputs()ChoiceDefinition.getOutputs()CircuitBreakerDefinition.getOutputs()DynamicRouterDefinition.getOutputs()ExpressionNode.getOutputs()FinallyDefinition.getOutputs()InterceptDefinition.getOutputs()InterceptSendToEndpointDefinition.getOutputs()KameletDefinition.getOutputs()LoadBalanceDefinition.getOutputs()MulticastDefinition.getOutputs()NoOutputDefinition.getOutputs()OnCompletionDefinition.getOutputs()OnExceptionDefinition.getOutputs()OnFallbackDefinition.getOutputs()OtherwiseDefinition.getOutputs()OutputDefinition.getOutputs()OutputExpressionNode.getOutputs()PipelineDefinition.getOutputs()PolicyDefinition.getOutputs()abstract List<ProcessorDefinition<?>>ProcessorDefinition.getOutputs()ResequenceDefinition.getOutputs()RouteDefinition.getOutputs()RoutingSlipDefinition.getOutputs()SagaDefinition.getOutputs()StepDefinition.getOutputs()TransactedDefinition.getOutputs()TryDefinition.getOutputs()TryDefinition.getOutputsWithoutCatches()ProcessorDefinition.marshal()DataFormat: Marshals the in body using aDataFormatexpression to define the format of the output which will be added to the out body.ProcessorDefinition.pollEnrichWith(String resourceUri) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder using aPollingConsumerto poll the endpoint.ProcessorDefinition.pollEnrichWith(String resourceUri, long timeout) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder using aPollingConsumerto poll the endpoint.ProcessorDefinition.pollEnrichWith(String resourceUri, long timeout, boolean aggregateOnException) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder using aPollingConsumerto poll the endpoint.ProcessorDefinition.pollEnrichWith(EndpointConsumerBuilder resourceUri) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder using aPollingConsumerto poll the endpoint.ProcessorDefinition.pollEnrichWith(EndpointConsumerBuilder resourceUri, long timeout) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder using aPollingConsumerto poll the endpoint.ProcessorDefinition.pollEnrichWith(EndpointConsumerBuilder resourceUri, long timeout, boolean aggregateOnException) The Content Enricher EIP enriches an exchange with additional data obtained from aresourceUriand with an aggregation strategy created using a fluent builder using aPollingConsumerto poll the endpoint.ProcessorDefinition.process()Message Translator EIP: Adds the custom processor using a fluent builder to this destination which could be a final destination, or could be a transformation in a pipelineProcessorDefinition.script()Executes a script (do not change the message body).ProcessorDefinition.setBody()Message Translator EIP: Adds a processor which sets the body on the IN messageAdds a processor which sets the header on the IN messageProcessorDefinition.setProperty(String name) Adds a processor which sets the exchange propertyProcessorDefinition.transform()Message Translator EIP: Adds a processor which sets the body on the OUT messageProcessorDefinition.unmarshal()DataFormat: Unmarshals the in body using aDataFormatexpression to define the format of the input message and the output will be set on the out message body.Methods in org.apache.camel.model with parameters of type ProcessorDefinitionModifier and TypeMethodDescriptionvoidBlock.addOutput(ProcessorDefinition<?> processorDefinition) Adds the given definition as output to this blockvoidChoiceDefinition.addOutput(ProcessorDefinition<?> output) voidCircuitBreakerDefinition.addOutput(ProcessorDefinition<?> output) voidProcessorDefinition.addOutput(ProcessorDefinition<?> output) voidTryDefinition.addOutput(ProcessorDefinition<?> output) voidWireTapDefinition.addOutput(ProcessorDefinition<?> output) voidAggregateDefinition.configureChild(ProcessorDefinition<?> output) voidChoiceDefinition.configureChild(ProcessorDefinition<?> output) voidExpressionNode.configureChild(ProcessorDefinition<?> output) voidProcessorDefinition.configureChild(ProcessorDefinition<?> output) Strategy for children to do any custom configurationstatic <T extends ProcessorDefinition>
TProcessorDefinitionHelper.findFirstParentOfType(Class<T> parentType, ProcessorDefinition<?> node, boolean recursive) Is the given node parent(s) of the given typestatic voidRouteDefinitionHelper.forceAssignIds(org.apache.camel.CamelContext context, ProcessorDefinition processor) Force assigning ids to the give node and all its children (recursively).ProcessorDefinitionHelper.gatherAllNodeIds(ProcessorDefinition<?> node, Set<String> set, boolean onlyCustomId, boolean includeAbstract) Traverses the node, including its children (recursive), and gathers all the node ids.static voidRouteDefinitionHelper.initParent(ProcessorDefinition parent) static booleanProcessorDefinitionHelper.isFirstChildOfType(Class<?> parentType, ProcessorDefinition<?> node) Is the given child the first in the outputs from the parent?static booleanProcessorDefinitionHelper.isParentOfType(Class<? extends ProcessorDefinition> parentType, ProcessorDefinition<?> node, boolean recursive) Is the given node parent(s) of the given typevoidOnCompletionDefinition.removeAllOnCompletionDefinition(ProcessorDefinition<?> definition) Removes all existing globalOnCompletionDefinitionfrom the definition.static voidProcessorDefinitionHelper.resetAllAutoAssignedNodeIds(ProcessorDefinition<?> node) Resets (nulls) all the auto assigned ids on the node and the nested children (outputs)voidOnCompletionDefinition.setParent(ProcessorDefinition<?> parent) voidOnExceptionDefinition.setParent(ProcessorDefinition<?> parent) voidProcessorDefinition.setParent(ProcessorDefinition<?> parent) Method parameters in org.apache.camel.model with type arguments of type ProcessorDefinitionModifier and TypeMethodDescriptionstatic <T> Collection<T>ProcessorDefinitionHelper.filterTypeInOutputs(List<ProcessorDefinition<?>> outputs, Class<T> type) Looks for the given type in the list of outputs and recurring all the children as well.static <T> Collection<T>ProcessorDefinitionHelper.filterTypeInOutputs(List<ProcessorDefinition<?>> outputs, Class<T> type, int maxDeep) Looks for the given type in the list of outputs and recurring all the children as well.static <T> TProcessorDefinitionHelper.findFirstTypeInOutputs(List<ProcessorDefinition<?>> outputs, Class<T> type) Looks for the given type in the list of outputs and recurring all the children as well.static booleanProcessorDefinitionHelper.isParentOfType(Class<? extends ProcessorDefinition> parentType, ProcessorDefinition<?> node, boolean recursive) Is the given node parent(s) of the given typestatic voidRouteDefinitionHelper.prepareRouteForInit(RouteDefinition route, List<ProcessorDefinition<?>> abstracts, List<ProcessorDefinition<?>> lower) voidAggregateDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidCatchDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidCircuitBreakerDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidFinallyDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidInterceptDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidInterceptSendToEndpointDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidKameletDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidLoadBalanceDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidMulticastDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidOnCompletionDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidOnExceptionDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidOnFallbackDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidOtherwiseDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidOutputDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidOutputExpressionNode.setOutputs(List<ProcessorDefinition<?>> outputs) voidPipelineDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidPolicyDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidResequenceDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidRouteDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) Outputs are processors that determines how messages are processed by this route.voidSagaDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidStepDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidTransactedDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) voidTryDefinition.setOutputs(List<ProcessorDefinition<?>> outputs) -
Uses of ProcessorDefinition in org.apache.camel.model.cloud
Subclasses of ProcessorDefinition in org.apache.camel.model.cloudMethods in org.apache.camel.model.cloud that return ProcessorDefinitionModifier and TypeMethodDescriptionServiceCallExpressionConfiguration.endParent()Deprecated.ServiceCallServiceChooserConfiguration.endParent()Deprecated.ServiceCallServiceDiscoveryConfiguration.endParent()Deprecated.ServiceCallServiceFilterConfiguration.endParent()Deprecated.ServiceCallServiceLoadBalancerConfiguration.endParent()Deprecated.