Package org.apache.camel
Interface MessageHistory
-
public interface MessageHistory
Represents the history of a CamelMessage
how it was routed by the Camel routing engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getElapsed()
Gets the elapsed time in millis processing the node took (this is 0 until the node processing is done)Message
getMessage()
A read-only copy of the message at the point of this history (if this has been enabled).NamedNode
getNode()
Gets the node at the point of this history.String
getRouteId()
Gets the route id at the point of this history.long
getTime()
Gets the timestamp at the point of this history.void
nodeProcessingDone()
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).
-
-