Package org.apache.camel
Interface MessageHistory
public interface MessageHistory
Represents the history of a Camel
Message
how it was routed by the Camel routing engine.-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the elapsed time in millis processing the node took (this is 0 until the node processing is done)A read-only copy of the message at the point of this history (if this has been enabled).getNode()
Gets the node at the point of this history.Gets the route id at the point of this history.long
getTime()
Gets the timestamp at the point of this history.void
Used for signalling that processing of the node is done.
-
Method Details
-
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).
-