public class DefaultMessageHistory extends Object implements MessageHistory
MessageHistory
.Constructor and Description |
---|
DefaultMessageHistory(String routeId,
NamedNode node,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
long |
getElapsed()
Gets the elapsed time in millis processing the node took
(this is 0 until the node processing is done)
|
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.
|
Date |
getTimestamp()
Gets the timestamp at the point of this history.
|
void |
nodeProcessingDone()
Used for signalling that processing of the node is done.
|
String |
toString() |
public DefaultMessageHistory(String routeId, NamedNode node, long timestamp)
public String getRouteId()
MessageHistory
getRouteId
in interface MessageHistory
public NamedNode getNode()
MessageHistory
getNode
in interface MessageHistory
public Date getTimestamp()
MessageHistory
getTimestamp
in interface MessageHistory
public long getTime()
MessageHistory
getTime
in interface MessageHistory
public long getElapsed()
MessageHistory
getElapsed
in interface MessageHistory
public void nodeProcessingDone()
MessageHistory
nodeProcessingDone
in interface MessageHistory
Apache Camel