public interface Channel extends AsyncProcessor, Navigate<Processor>
Modifier and Type | Method and Description |
---|---|
Processor |
getErrorHandler()
Gets the
ErrorHandler this Channel uses. |
Processor |
getNextProcessor()
Gets the next
Processor to route to (not wrapped) |
Processor |
getOutput()
Gets the wrapped output that at runtime should be delegated to.
|
Route |
getRoute()
Gets the
Route |
void |
initChannel(Route route,
NamedNode definition,
NamedNode childDefinition,
List<InterceptStrategy> interceptors,
Processor nextProcessor,
NamedRoute routeDefinition,
boolean first)
Initializes the channel.
|
void |
postInitChannel()
Post initializes the channel.
|
void |
setErrorHandler(Processor errorHandler)
Sets the
ErrorHandler this Channel uses. |
process, processAsync
void initChannel(Route route, NamedNode definition, NamedNode childDefinition, List<InterceptStrategy> interceptors, Processor nextProcessor, NamedRoute routeDefinition, boolean first) throws Exception
Exception
void postInitChannel() throws Exception
Exception
- is thrown if some error occurredProcessor getErrorHandler()
ErrorHandler
this Channel uses.void setErrorHandler(Processor errorHandler)
ErrorHandler
this Channel uses.errorHandler
- the error handlerProcessor getOutput()
Exchange
toProcessor getNextProcessor()
Processor
to route to (not wrapped)Apache Camel