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

Packages that use ProcessorDefinition
org.apache.camel The JAXB POJOs for the XML Configuration of the routing rules. 
org.apache.camel.builder The Camel Domain Specific Language for creating Routes, Predicates, Expressions and Error Handlers
org.apache.camel.impl Default implementation classes for Camel Core 
org.apache.camel.management Camel management 
org.apache.camel.management.mbean Camel management JMX Mbeans 
org.apache.camel.model The JAXB POJOs for the XML Configuration of the routing rules. 
org.apache.camel.processor A collection of Processor implementations which are used to implement the Enterprise Integration Patterns 
org.apache.camel.processor.interceptor Helper classes for interceptors. 
org.apache.camel.spi Service Provider Interfaces used internally by the Camel runtime which are plugin strategies. 
org.apache.camel.view Helper class to help with the Visualisation of Routes 
 

Uses of ProcessorDefinition in org.apache.camel
 

Methods in org.apache.camel that return ProcessorDefinition
 ProcessorDefinition<?> RouteNode.getProcessorDefinition()
          Gets the model definition that represents this node
 ProcessorDefinition<?> Channel.getProcessorDefinition()
          Gets the definition of the next processor
 

Methods in org.apache.camel with parameters of type ProcessorDefinition
 void Channel.initChannel(ProcessorDefinition<?> outputDefinition, RouteContext routeContext)
          Initializes the channel.
 void Channel.setChildDefinition(ProcessorDefinition<?> child)
          If the initialized output definition contained outputs (children) then we need to set the child so we can leverage fine grained tracing
 

Uses of ProcessorDefinition in org.apache.camel.builder
 

Classes in org.apache.camel.builder with type parameters of type ProcessorDefinition
 class DataFormatClause<T extends ProcessorDefinition<?>>
          An expression for constructing the different possible DataFormat options.
 

Uses of ProcessorDefinition in org.apache.camel.impl
 

Methods in org.apache.camel.impl that return ProcessorDefinition
 ProcessorDefinition<?> OnExceptionRouteNode.getProcessorDefinition()
           
 ProcessorDefinition<?> OnCompletionRouteNode.getProcessorDefinition()
           
 ProcessorDefinition<?> DoFinallyRouteNode.getProcessorDefinition()
           
 ProcessorDefinition<?> DoCatchRouteNode.getProcessorDefinition()
           
 ProcessorDefinition<?> DefaultRouteNode.getProcessorDefinition()
           
 ProcessorDefinition<?> AggregateRouteNode.getProcessorDefinition()
           
 

Methods in org.apache.camel.impl with parameters of type ProcessorDefinition
 Processor DefaultRouteContext.createProcessor(ProcessorDefinition<?> node)
           
 int DefaultRouteContext.getAndIncrement(ProcessorDefinition<?> node)
           
 int DefaultTracedRouteNodes.getAndIncrementCounter(ProcessorDefinition<?> node)
           
 

Constructors in org.apache.camel.impl with parameters of type ProcessorDefinition
DefaultRouteNode(ProcessorDefinition<?> processorDefinition, Expression expression)
           
DefaultRouteNode(ProcessorDefinition<?> processorDefinition, Processor processor)
           
 

Uses of ProcessorDefinition in org.apache.camel.management
 

Methods in org.apache.camel.management with parameters of type ProcessorDefinition
 ObjectName DefaultManagementNamingStrategy.getObjectNameForProcessor(CamelContext context, Processor processor, ProcessorDefinition<?> definition)
           
 boolean ManagedManagementStrategy.manageProcessor(ProcessorDefinition<?> definition)
           
 boolean DefaultManagementStrategy.manageProcessor(ProcessorDefinition<?> definition)
           
protected  boolean DefaultManagementLifecycleStrategy.registerProcessor(ProcessorDefinition processor)
          Should the given processor be registered.
 Processor InstrumentationInterceptStrategy.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition definition, Processor target, Processor nextTarget)
           
 

Constructor parameters in org.apache.camel.management with type arguments of type ProcessorDefinition
InstrumentationInterceptStrategy(Map<ProcessorDefinition,PerformanceCounter> registeredCounters, Map<Processor,KeyValueHolder<ProcessorDefinition,InstrumentationProcessor>> wrappedProcessors)
           
InstrumentationInterceptStrategy(Map<ProcessorDefinition,PerformanceCounter> registeredCounters, Map<Processor,KeyValueHolder<ProcessorDefinition,InstrumentationProcessor>> wrappedProcessors)
           
 

Uses of ProcessorDefinition in org.apache.camel.management.mbean
 

Methods in org.apache.camel.management.mbean that return ProcessorDefinition
 ProcessorDefinition<?> ManagedProcessor.getDefinition()
           
 

Constructors in org.apache.camel.management.mbean with parameters of type ProcessorDefinition
ManagedDelayer(CamelContext context, Delayer delayer, ProcessorDefinition<?> definition)
           
ManagedProcessor(CamelContext context, Processor processor, ProcessorDefinition<?> definition)
           
ManagedSendProcessor(CamelContext context, SendProcessor processor, ProcessorDefinition<?> definition)
           
ManagedThrottler(CamelContext context, Throttler throttler, ProcessorDefinition<?> definition)
           
 

Uses of ProcessorDefinition in org.apache.camel.model
 

Classes in org.apache.camel.model with type parameters of type ProcessorDefinition
 class OutputDefinition<Type extends ProcessorDefinition>
          A useful base class for output types
 class ProcessorDefinition<Type extends ProcessorDefinition>
          Base class for processor types that most XML types extend.
 class SendDefinition<Type extends ProcessorDefinition>
          Base class for sending to an endpoint with an optional ExchangePattern
 

Subclasses of ProcessorDefinition in org.apache.camel.model
 class AggregateDefinition
          Represents an XML <aggregate/> element
 class AOPDefinition
          Represents an XML <aop/> element
 class BeanDefinition
          Represents an XML <bean/> element
 class CatchDefinition
          Represents an XML <catch/> element
 class ChoiceDefinition
          Represents an XML <choice/> element
 class ConvertBodyDefinition
          Represents an XML <convertBodyTo/> element
 class DelayDefinition
          Represents an XML <delay/> element
 class EnrichDefinition
          Represents an XML <enrich/> element
 class ExpressionNode
          A base class for nodes which contain an expression and a number of outputs
 class FilterDefinition
          Represents an XML <filter/> element
 class FinallyDefinition
          Represents an XML <finally/> element
 class IdempotentConsumerDefinition
          Represents an XML <idempotentConsumer/> element
 class InOnlyDefinition
          Represents an XML <inOnly/> element
 class InOutDefinition
          Represents an XML <inOut/> element
 class InterceptDefinition
          Represents an XML <intercept/> element
 class InterceptFromDefinition
          Represents an XML <interceptFrom/> element
 class InterceptSendToEndpointDefinition
          Represents an XML <interceptToEndpoint/> element
 class LoadBalanceDefinition
          Represents an XML <loadBalance/> element
 class LogDefinition
          Represents an XML <log/> element
 class LoopDefinition
          Represents an XML <loop/> element
 class MarshalDefinition
          Marshals to a binary payload using the given DataFormatDefinition
 class MulticastDefinition
          Represents an XML <multicast/> element
 class OnCompletionDefinition
          Represents an XML <onCompletion/> element
 class OnExceptionDefinition
          Represents an XML <onException/> element
 class OtherwiseDefinition
          Represents an XML <otherwise/> element
 class OutputDefinition<Type extends ProcessorDefinition>
          A useful base class for output types
 class PipelineDefinition
          Represents an XML <pipeline/> element which can be used to define an explicit pipeline; or to define a specific pipeline within a <multicast> block
 class PolicyDefinition
          Represents an XML <policy/> element
 class PollEnrichDefinition
          Represents an XML <pollEnrich/> element
 class ProcessDefinition
          Represents an XML <process/> element
 class RecipientListDefinition
          Represents an XML <recipientList/> element
 class RemoveHeaderDefinition
          Represents an XML <removeHeader/> element
 class RemovePropertyDefinition
          Represents an XML <removeProperty/> element
 class ResequenceDefinition
          Represents an XML <resequence/> element
 class RollbackDefinition
          Represents an XML <rollback/> element
 class RouteDefinition
          Represents an XML <route/> element
 class RoutingSlipDefinition
          Represents an XML <routingSlip/> element
 class SamplingDefinition
          Represents an XML <sample/> element
 class SendDefinition<Type extends ProcessorDefinition>
          Base class for sending to an endpoint with an optional ExchangePattern
 class SetBodyDefinition
          Represents an XML <setBody/> element.
 class SetExchangePatternDefinition
          Represents an XML <setExchangePattern/> element
 class SetHeaderDefinition
          Represents an XML <setHeader/> element
 class SetOutHeaderDefinition
          Represents an XML <setOutHeader/> element
 class SetPropertyDefinition
          Represents an XML <setProperty/> element
 class SortDefinition
          Represents an XML <sort/> element
 class SplitDefinition
          Represents an XML <split/> element
 class StopDefinition
          Represents an XML <stop/> element
 class ThreadsDefinition
          Represents an XML <threads/> element
 class ThrottleDefinition
          Represents an XML <throttle/> element
 class ThrowExceptionDefinition
          Represents an XML <throwException/> element
 class ToDefinition
          Represents an XML <to/> element
 class TransactedDefinition
          Represents an XML <transacted/> element
 class TransformDefinition
          Represents an XML <transform/> element
 class TryDefinition
          Represents an XML <try/> element
 class UnmarshalDefinition
          Unmarshals the binary payload using the given DataFormatDefinition
 class WhenDefinition
          Represents an XML <when/> element
 class WireTapDefinition
          Represents an XML <wireTap/> element
 

Fields in org.apache.camel.model with type parameters of type ProcessorDefinition
protected  List<ProcessorDefinition> OutputDefinition.outputs
           
 

Methods in org.apache.camel.model that return ProcessorDefinition
 ProcessorDefinition ProcessorDefinition.end()
          Ends the current block
 ProcessorDefinition<? extends ProcessorDefinition<?>> OnCompletionDefinition.end()
           
 ProcessorDefinition ProcessorDefinition.getParent()
           
 

Methods in org.apache.camel.model that return types with arguments of type ProcessorDefinition
 ProcessorDefinition<? extends ProcessorDefinition<?>> OnCompletionDefinition.end()
           
 List<ProcessorDefinition> ToDefinition.getOutputs()
           
 List<ProcessorDefinition> ThrowExceptionDefinition.getOutputs()
           
 List<ProcessorDefinition> ThrottleDefinition.getOutputs()
           
 List<ProcessorDefinition> StopDefinition.getOutputs()
           
 List<ProcessorDefinition> SortDefinition.getOutputs()
           
 List<ProcessorDefinition> SendDefinition.getOutputs()
           
 List<ProcessorDefinition> SamplingDefinition.getOutputs()
           
 List<ProcessorDefinition> RoutingSlipDefinition.getOutputs()
           
 List<ProcessorDefinition> RouteDefinition.getOutputs()
           
 List<ProcessorDefinition> RollbackDefinition.getOutputs()
           
 List<ProcessorDefinition> ResequenceDefinition.getOutputs()
           
 List<ProcessorDefinition> RecipientListDefinition.getOutputs()
           
abstract  List<ProcessorDefinition> ProcessorDefinition.getOutputs()
           
 List<ProcessorDefinition> OutputDefinition.getOutputs()
           
 List<ProcessorDefinition> OnExceptionDefinition.getOutputs()
           
 List<ProcessorDefinition> OnCompletionDefinition.getOutputs()
           
 List<ProcessorDefinition> LogDefinition.getOutputs()
           
 List<ProcessorDefinition> LoadBalanceDefinition.getOutputs()
           
 List<ProcessorDefinition> ExpressionNode.getOutputs()
           
 List<ProcessorDefinition> ConvertBodyDefinition.getOutputs()
           
 List<ProcessorDefinition> ChoiceDefinition.getOutputs()
           
 List<ProcessorDefinition> CatchDefinition.getOutputs()
           
 List<ProcessorDefinition> AggregateDefinition.getOutputs()
           
 List<ProcessorDefinition> TryDefinition.getOutputsWithoutCatches()
           
 DataFormatClause<ProcessorDefinition<Type>> ProcessorDefinition.marshal()
          DataFormat: Marshals the in body using a DataFormat expression to define the format of the output which will be added to the out body.
 ExpressionClause<ProcessorDefinition<Type>> ProcessorDefinition.setBody()
          Message Translator EIP: Adds a processor which sets the body on the IN message
 ExpressionClause<ProcessorDefinition<Type>> ProcessorDefinition.setHeader(String name)
          Adds a processor which sets the header on the IN message
 ExpressionClause<ProcessorDefinition<Type>> ProcessorDefinition.setOutHeader(String name)
          Adds a processor which sets the header on the OUT message
 ExpressionClause<ProcessorDefinition<Type>> ProcessorDefinition.setProperty(String name)
          Adds a processor which sets the exchange property
 ExpressionClause<ProcessorDefinition<Type>> ProcessorDefinition.transform()
          Message Translator EIP: Adds a processor which sets the body on the OUT message
 DataFormatClause<ProcessorDefinition<Type>> ProcessorDefinition.unmarshal()
          DataFormat: Unmarshals the in body using a DataFormat expression 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 ProcessorDefinition
 void TryDefinition.addOutput(ProcessorDefinition output)
           
 void RecipientListDefinition.addOutput(ProcessorDefinition processorType)
           
 void ProcessorDefinition.addOutput(ProcessorDefinition processorType)
           
 void LogDefinition.addOutput(ProcessorDefinition processorType)
           
 void Block.addOutput(ProcessorDefinition processorDefinition)
          Adds the given definition as output to this block
protected  void ProcessorDefinition.configureChild(ProcessorDefinition output)
           
static RouteDefinition ProcessorDefinitionHelper.getRoute(ProcessorDefinition<?> node)
          Gets the route definition the given node belongs to.
static boolean ProcessorDefinitionHelper.isFirstChildOfType(Class<?> parentType, ProcessorDefinition<?> node)
          Is the given child the first in the outputs from the parent?
 void OnCompletionDefinition.removeAllOnCompletionDefinition(ProcessorDefinition definition)
          Removes all existing OnCompletionDefinition from the definition.
 void ProcessorDefinition.setParent(ProcessorDefinition parent)
           
protected  Processor ProcessorDefinition.wrapChannel(RouteContext routeContext, Processor processor, ProcessorDefinition child)
           
 

Method parameters in org.apache.camel.model with type arguments of type ProcessorDefinition
protected  Processor ProcessorDefinition.createOutputsProcessor(RouteContext routeContext, Collection<ProcessorDefinition> outputs)
           
protected  Processor LoadBalanceDefinition.createOutputsProcessor(RouteContext routeContext, Collection<ProcessorDefinition> outputs)
           
static
<T> Iterator<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> T
ProcessorDefinitionHelper.findFirstTypeInOutputs(List<ProcessorDefinition> outputs, Class<T> type)
          Looks for the given type in the list of outputs and recurring all the children as well.
 void TryDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void ThrottleDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void SamplingDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void RouteDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void ResequenceDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void OutputDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void OnExceptionDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void OnCompletionDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void LoadBalanceDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void ExpressionNode.setOutputs(List<ProcessorDefinition> outputs)
           
 void CatchDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 void AggregateDefinition.setOutputs(List<ProcessorDefinition> outputs)
           
 

Uses of ProcessorDefinition in org.apache.camel.processor
 

Methods in org.apache.camel.processor that return ProcessorDefinition
 ProcessorDefinition<?> DefaultChannel.getProcessorDefinition()
           
 

Methods in org.apache.camel.processor with parameters of type ProcessorDefinition
 void DefaultChannel.initChannel(ProcessorDefinition<?> outputDefinition, RouteContext routeContext)
           
 void DefaultChannel.setChildDefinition(ProcessorDefinition<?> childDefinition)
           
 

Uses of ProcessorDefinition in org.apache.camel.processor.interceptor
 

Methods in org.apache.camel.processor.interceptor that return ProcessorDefinition
 ProcessorDefinition<?> TraceInterceptor.getNode()
           
 

Methods in org.apache.camel.processor.interceptor with parameters of type ProcessorDefinition
protected  String DefaultTraceFormatter.extractBreadCrumb(TraceInterceptor interceptor, ProcessorDefinition<?> currentNode, Exchange exchange)
          Creates the breadcrumb based on whether this was a trace of an exchange coming out of or into a processing step.
protected  String DefaultTraceFormatter.extractRoute(ProcessorDefinition<?> node)
           
 Object TraceFormatter.format(TraceInterceptor interceptor, ProcessorDefinition<?> node, Exchange exchange)
          Formats a log message at given point of interception.
 Object DefaultTraceFormatter.format(TraceInterceptor interceptor, ProcessorDefinition<?> node, Exchange exchange)
           
protected  boolean TraceInterceptor.shouldLogNode(ProcessorDefinition<?> node)
          Returns true if the given node should be logged in the trace list
 Processor Tracer.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
           
 Processor StreamCaching.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
           
 Processor HandleFault.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
           
 Processor Delayer.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
           
 

Constructors in org.apache.camel.processor.interceptor with parameters of type ProcessorDefinition
DefaultTraceEventMessage(Date timestamp, ProcessorDefinition<?> toNode, Exchange exchange)
          Creates a DefaultTraceEventMessage based on the given node it was traced while processing the current Exchange
DelayInterceptor(ProcessorDefinition<?> node, Processor target, Delayer delayer)
           
TraceInterceptor(ProcessorDefinition node, Processor target, TraceFormatter formatter, Tracer tracer)
           
 

Uses of ProcessorDefinition in org.apache.camel.spi
 

Methods in org.apache.camel.spi with parameters of type ProcessorDefinition
 Processor RouteContext.createProcessor(ProcessorDefinition<?> node)
          Creates a processor
 int RouteContext.getAndIncrement(ProcessorDefinition<?> node)
          A private counter that increments, is used to as book keeping when building a route based on the model

We need this special book keeping be able to assign the correct ProcessorDefinition to the Channel

 int TracedRouteNodes.getAndIncrementCounter(ProcessorDefinition<?> node)
          A private counter that increments, is used to as book keeping how far this exchange have been intercepted by the general intercept().
 ObjectName ManagementNamingStrategy.getObjectNameForProcessor(CamelContext context, Processor processor, ProcessorDefinition<?> definition)
           
 boolean ManagementStrategy.manageProcessor(ProcessorDefinition<?> definition)
          Filter whether the processor should be managed or not.
 Processor InterceptStrategy.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
          This method is invoked by wrapProcessor(RouteContext, Processor) to give the implementor an opportunity to wrap the target processor in a route.
 

Uses of ProcessorDefinition in org.apache.camel.view
 

Fields in org.apache.camel.view with type parameters of type ProcessorDefinition
 List<ProcessorDefinition> NodeData.outputs
           
 

Methods in org.apache.camel.view with parameters of type ProcessorDefinition
protected  boolean GraphGeneratorSupport.isMulticastNode(ProcessorDefinition node)
           
protected  NodeData XmlGraphGenerator.printNode(PrintWriter writer, NodeData fromData, ProcessorDefinition node)
           
protected  NodeData RouteDotGenerator.printNode(PrintWriter writer, NodeData fromData, ProcessorDefinition node)
           
 



Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.