Interface BacklogTracerEventMessage
-
- All Superinterfaces:
Serializable
public interface BacklogTracerEventMessage extends Serializable
Represents a traced message by the BacklogTracer.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROOT_TAG
static String
TIMESTAMP_FORMAT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getExchangeId()
The exchange idString
getMessageAsXml()
The content of the message as XML (body and headers)String
getRouteId()
Route idlong
getTimestamp()
Timestamp of the traced eventString
getToNode()
Node id where the message is being routed tolong
getUid()
Unique id of the traced messageString
toXml(int indent)
Dumps the event message as XML using theROOT_TAG
as root tag.
-
-
-
Field Detail
-
ROOT_TAG
static final String ROOT_TAG
- See Also:
- Constant Field Values
-
TIMESTAMP_FORMAT
static final String TIMESTAMP_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUid
long getUid()
Unique id of the traced message
-
getTimestamp
long getTimestamp()
Timestamp of the traced event
-
getRouteId
String getRouteId()
Route id
-
getExchangeId
String getExchangeId()
The exchange id
-
getMessageAsXml
String getMessageAsXml()
The content of the message as XML (body and headers)
-
toXml
String toXml(int indent)
Dumps the event message as XML using theROOT_TAG
as root tag. The timestamp tag is formatted in the format defined byTIMESTAMP_FORMAT
- Parameters:
indent
- number of spaces to indent- Returns:
- xml representation of this event
-
-