org.apache.camel.fabric
Class FabricTracerEventMessage

java.lang.Object
  extended by org.apache.camel.fabric.FabricTracerEventMessage
All Implemented Interfaces:
Serializable

public class FabricTracerEventMessage
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String ROOT_TAG
           
static String TIMESTAMP_FORMAT
           
 
Constructor Summary
FabricTracerEventMessage(long uid, Date timestamp, String toNode, String exchangeId, String messageAsXml)
           
 
Method Summary
 String getExchangeId()
           
 String getMessageAsXml()
           
 Date getTimestamp()
           
 String getToNode()
           
 long getUid()
           
 String toString()
           
 String toXml()
          Dumps the event message as XML using the ROOT_TAG as root tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

FabricTracerEventMessage

public FabricTracerEventMessage(long uid,
                                Date timestamp,
                                String toNode,
                                String exchangeId,
                                String messageAsXml)
Method Detail

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