public interface TraceEventMessage
Exchange
at the point of interception. The information is stored as snapshot copies
using String types.
Notice not all implementations may provide direct access to the traced Exchange
using
the getTracedExchange()
method, and thus this method may return null.
For example the JPA implementation will return null.Modifier and Type | Method and Description |
---|---|
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 |
getOutHeaders() |
String |
getPreviousNode()
Gets the previous node.
|
String |
getProperties() |
String |
getRouteId() |
String |
getShortExchangeId()
Gets the exchange id without the leading hostname
|
Date |
getTimestamp()
Gets the timestamp when the interception occurred
|
String |
getToNode()
Gets the current node that just have been intercepted and processed
Is never null.
|
Exchange |
getTracedExchange()
Gets the traced
Exchange . |
Date getTimestamp()
String getFromEndpointUri()
Exchange
currently being traced.String getPreviousNode()
String getToNode()
String getExchangeId()
String getRouteId()
String getShortExchangeId()
String getExchangePattern()
String getProperties()
String getHeaders()
String getBody()
String getBodyType()
String getOutBody()
String getOutBodyType()
String getOutHeaders()
String getCausedByException()
Exchange#getException()
.Exchange getTracedExchange()
Exchange
.
Not all implementations may provide direct access to the traced Exchange
and thus this
method may return null. For example the JPA implementation will return null.Exchange
, however it can be null in some implementations.Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.