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 StringROOT_TAGstatic StringTIMESTAMP_FORMAT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetExchangeId()The exchange idStringgetMessageAsXml()The content of the message as XML (body and headers)StringgetRouteId()Route idlonggetTimestamp()Timestamp of the traced eventStringgetToNode()Node id where the message is being routed tolonggetUid()Unique id of the traced messageStringtoXml(int indent)Dumps the event message as XML using theROOT_TAGas 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_TAGas 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
-
-