Package org.apache.camel
Interface MessageHistory
-
public interface MessageHistoryRepresents the history of a CamelMessagehow it was routed by the Camel routing engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetElapsed()Gets the elapsed time in millis processing the node took (this is 0 until the node processing is done)MessagegetMessage()A read-only copy of the message at the point of this history (if this has been enabled).NamedNodegetNode()Gets the node at the point of this history.StringgetRouteId()Gets the route id at the point of this history.longgetTime()Gets the timestamp at the point of this history.voidnodeProcessingDone()Used for signalling that processing of the node is done.
-
-
-
Method Detail
-
getRouteId
String getRouteId()
Gets the route id at the point of this history.
-
getNode
NamedNode getNode()
Gets the node at the point of this history.
-
getTime
long getTime()
Gets the timestamp at the point of this history.
-
getElapsed
long getElapsed()
Gets the elapsed time in millis processing the node took (this is 0 until the node processing is done)
-
nodeProcessingDone
void nodeProcessingDone()
Used for signalling that processing of the node is done.
-
getMessage
Message getMessage()
A read-only copy of the message at the point of this history (if this has been enabled).
-
-