org.apache.camel.fabric
Class FabricTracerEventMessage
java.lang.Object
org.apache.camel.fabric.FabricTracerEventMessage
- All Implemented Interfaces:
- Serializable
public class FabricTracerEventMessage
- extends Object
- implements Serializable
- See Also:
- Serialized Form
ROOT_TAG
public static final String ROOT_TAG
- See Also:
- Constant Field Values
TIMESTAMP_FORMAT
public static final String TIMESTAMP_FORMAT
- See Also:
- Constant Field Values
FabricTracerEventMessage
public FabricTracerEventMessage(long uid,
Date timestamp,
String toNode,
String exchangeId,
String messageAsXml)
getUid
public long getUid()
getTimestamp
public Date getTimestamp()
getToNode
public String getToNode()
getExchangeId
public String getExchangeId()
getMessageAsXml
public String getMessageAsXml()
toString
public String toString()
- Overrides:
toString
in class Object
toXml
public String toXml()
- Dumps the event message as XML using the
ROOT_TAG
as root tag.
The timestamp tag is formatted in the format defined by TIMESTAMP_FORMAT
- Returns:
- xml representation of this event
Apache CAMEL