org.apache.camel.model
Interface ModelChannel
- All Superinterfaces:
- AsyncProcessor, Channel, Navigate<Processor>, Processor
- All Known Implementing Classes:
- DefaultChannel
public interface ModelChannel
- extends Channel
initChannel
void initChannel(ProcessorDefinition<?> outputDefinition,
RouteContext routeContext)
throws Exception
- Initializes the channel.
- Parameters:
outputDefinition
- the route definition the Channel
representsrouteContext
- 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
representsrouteContext
- 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