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
|
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()
MessageHistorygetRouteId in interface MessageHistorypublic NamedNode getNode()
MessageHistorygetNode in interface MessageHistorypublic Date getTimestamp()
MessageHistorygetTimestamp in interface MessageHistorypublic long getTime()
MessageHistorygetTime in interface MessageHistorypublic long getElapsed()
MessageHistorygetElapsed in interface MessageHistorypublic void nodeProcessingDone()
MessageHistorynodeProcessingDone in interface MessageHistoryApache Camel