org.apache.camel.processor.interceptor
Interface TraceEventMessage

All Known Implementing Classes:
DefaultTraceEventMessage

public interface TraceEventMessage

A trace event message that contains decomposited information about the traced Exchange at the point of interception. The information is stored as snapshot copies using String types.


Method Summary
 String getBody()
           
 String getBodyType()
           
 String getCausedByException()
          Gets the caused by exception (ie Exchange#getException().
 String getExchangeId()
           
 String getExchangePattern()
           
 String getFromEndpointUri()
          Uri of the endpoint that started the Exchange currently being traced.
 String getHeaders()
           
 String getOutBody()
           
 String getOutBodyType()
           
 String getPreviousNode()
          Gets the previous node.
 String getProperties()
           
 String getShortExchangeId()
          Gets the exchange id without the leading hostname
 Date getTimestamp()
          Gets the timestamp when the interception occured
 String getToNode()
          Gets the current node that just have been intercepted and processed

Is never null.

 

Method Detail

getTimestamp

Date getTimestamp()
Gets the timestamp when the interception occured


getFromEndpointUri

String getFromEndpointUri()
Uri of the endpoint that started the Exchange currently being traced.


getPreviousNode

String getPreviousNode()
Gets the previous node.

Will return null if this is the first node, then you can use the from endpoint uri instread to indicate the start


getToNode

String getToNode()
Gets the current node that just have been intercepted and processed

Is never null.


getExchangeId

String getExchangeId()

getShortExchangeId

String getShortExchangeId()
Gets the exchange id without the leading hostname


getExchangePattern

String getExchangePattern()

getProperties

String getProperties()

getHeaders

String getHeaders()

getBody

String getBody()

getBodyType

String getBodyType()

getOutBody

String getOutBody()

getOutBodyType

String getOutBodyType()

getCausedByException

String getCausedByException()
Gets the caused by exception (ie Exchange#getException().



Apache CAMEL