org.apache.camel.api.management.mbean
Interface BacklogTracerEventMessage

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultBacklogTracerEventMessage

public interface BacklogTracerEventMessage
extends Serializable

Represents a traced message by the BacklogTracer.


Field Summary
static String ROOT_TAG
           
static String TIMESTAMP_FORMAT
           
 
Method Summary
 String getExchangeId()
           
 String getMessageAsXml()
           
 String getRouteId()
           
 Date getTimestamp()
           
 String getToNode()
           
 long getUid()
           
 String toXml(int indent)
          Dumps the event message as XML using the ROOT_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()

getTimestamp

Date getTimestamp()

getRouteId

String getRouteId()

getToNode

String getToNode()

getExchangeId

String getExchangeId()

getMessageAsXml

String getMessageAsXml()

toXml

String toXml(int indent)
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

Parameters:
indent - number of spaces to indent
Returns:
xml representation of this event


Apache Camel