public interface ModelChannel extends org.apache.camel.Channel
Modifier and Type | Method and Description |
---|---|
ProcessorDefinition<?> |
getProcessorDefinition()
Gets the definition of the next processor
|
void |
initChannel(ProcessorDefinition<?> outputDefinition,
org.apache.camel.spi.RouteContext routeContext)
Initializes the channel.
|
void |
postInitChannel(ProcessorDefinition<?> outputDefinition,
org.apache.camel.spi.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
|
void initChannel(ProcessorDefinition<?> outputDefinition, org.apache.camel.spi.RouteContext routeContext) throws Exception
outputDefinition
- the route definition the Channel
representsrouteContext
- the route contextException
- is thrown if some error occurredvoid postInitChannel(ProcessorDefinition<?> outputDefinition, org.apache.camel.spi.RouteContext routeContext) throws Exception
outputDefinition
- the route definition the Channel
representsrouteContext
- the route contextException
- is thrown if some error occurredvoid setChildDefinition(ProcessorDefinition<?> child)
child
- the childProcessorDefinition<?> getProcessorDefinition()
Apache Camel