|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TraceableUnitOfWork
A Unit of work that is also traceable with the
TraceInterceptor
so we can trace the excact
route path a given Exchange
has been processed.
Method Summary | |
---|---|
void |
addTraced(RouteNode entry)
Adds the entry that was intercepted |
int |
getAndIncrement(ProcessorDefinition node)
A private counter that increments, is used to as book keeping how far this exchange have been intercepted by the general intercept(). |
RouteNode |
getLastNode()
Gets the last node, is null if no last exists. |
List<RouteNode> |
getNodes()
Gets the current list of nodes, representing the route path the current Exchange has currently taken. |
RouteNode |
getSecondLastNode()
Gets the 2nd last node, is null if no last exists. |
Methods inherited from interface org.apache.camel.spi.UnitOfWork |
---|
addSynchronization, done, getId, getOriginalInMessage, handoverSynchronization, removeSynchronization |
Method Detail |
---|
void addTraced(RouteNode entry)
entry
- the entryRouteNode getLastNode()
RouteNode getSecondLastNode()
List<RouteNode> getNodes()
Exchange
has currently taken.
int getAndIncrement(ProcessorDefinition node)
node
- the intercept node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |