|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Channel
Channel acts as a channel between Processor
s in the route graph.
Exchange
to the next Processor
in the route graph.
Method Summary | |
---|---|
void |
addInterceptStrategies(List<InterceptStrategy> strategy)
Adds a list of InterceptStrategy to apply each Exchange before
its routed to the next Processor . |
void |
addInterceptStrategy(InterceptStrategy strategy)
Adds a InterceptStrategy to apply each Exchange before
its routed to the next Processor . |
Processor |
getErrorHandler()
Gets the ErrorHandler this Channel uses. |
List<InterceptStrategy> |
getInterceptStrategies()
Gets the list of InterceptStrategy registered to this Channel. |
Processor |
getNextProcessor()
Gets the next Processor to route to (not wrapped) |
Processor |
getOutput()
Gets the wrapped output that at runtime should be delegated to. |
RouteContext |
getRouteContext()
Gets the RouteContext |
void |
setErrorHandler(Processor errorHandler)
Sets the ErrorHandler this Channel uses. |
void |
setNextProcessor(Processor next)
Sets the processor that the channel should route the Exchange to. |
void |
setOutput(Processor output)
Sets the wrapped output that at runtime should be delegated to. |
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 |
---|
void setNextProcessor(Processor next)
Exchange
to.
next
- the next processorvoid setErrorHandler(Processor errorHandler)
ErrorHandler
this Channel uses.
errorHandler
- the error handlerProcessor getErrorHandler()
ErrorHandler
this Channel uses.
void addInterceptStrategy(InterceptStrategy strategy)
InterceptStrategy
to apply each Exchange
before
its routed to the next Processor
.
strategy
- the intercept strategyvoid addInterceptStrategies(List<InterceptStrategy> strategy)
InterceptStrategy
to apply each Exchange
before
its routed to the next Processor
.
strategy
- list of strategiesList<InterceptStrategy> getInterceptStrategies()
InterceptStrategy
registered to this Channel.
Processor getOutput()
Exchange
tovoid setOutput(Processor output)
output
- the output to route the Exchange
toProcessor getNextProcessor()
Processor
to route to (not wrapped)
RouteContext getRouteContext()
RouteContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |