org.apache.camel.model
Interface ModelChannel

All Superinterfaces:
AsyncProcessor, Channel, Navigate<Processor>, Processor
All Known Implementing Classes:
DefaultChannel

public interface ModelChannel
extends Channel


Method Summary
 ProcessorDefinition<?> getProcessorDefinition()
          Gets the definition of the next processor
 void initChannel(ProcessorDefinition<?> outputDefinition, RouteContext routeContext)
          Initializes the channel.
 void postInitChannel(ProcessorDefinition<?> outputDefinition, RouteContext routeContext)
          Post initializes the channel.
 void 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
 
Methods inherited from interface org.apache.camel.Channel
addInterceptStrategies, addInterceptStrategy, getErrorHandler, getInterceptStrategies, getNextProcessor, getOutput, getRouteContext, setErrorHandler, setNextProcessor, setOutput
 
Methods inherited from interface org.apache.camel.AsyncProcessor
process
 
Methods inherited from interface org.apache.camel.Processor
process
 
Methods inherited from interface org.apache.camel.Navigate
hasNext, next
 

Method Detail

initChannel

void initChannel(ProcessorDefinition<?> outputDefinition,
                 RouteContext routeContext)
                 throws Exception
Initializes the channel.

Parameters:
outputDefinition - the route definition the Channel represents
routeContext - the route context
Throws:
Exception - is thrown if some error occurred

postInitChannel

void postInitChannel(ProcessorDefinition<?> outputDefinition,
                     RouteContext routeContext)
                     throws Exception
Post initializes the channel.

Parameters:
outputDefinition - the route definition the Channel represents
routeContext - the route context
Throws:
Exception - is thrown if some error occurred

setChildDefinition

void 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

Parameters:
child - the child

getProcessorDefinition

ProcessorDefinition<?> getProcessorDefinition()
Gets the definition of the next processor

Returns:
the processor definition


Apache CAMEL