This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new adc7aff Polished
adc7aff is described below
commit adc7aff50bc8122d099b7ce242663a1e41f99b75
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Dec 15 12:43:45 2021 +0100
Polished
---
.../management/mbean/BacklogTracerEventMessage.java | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git
a/core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/BacklogTracerEventMessage.java
b/core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/BacklogTracerEventMessage.java
index 8d48cbb..b295979 100644
---
a/core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/BacklogTracerEventMessage.java
+++
b/core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/BacklogTracerEventMessage.java
@@ -19,23 +19,41 @@ package org.apache.camel.api.management.mbean;
import java.io.Serializable;
/**
- * Represents a traced message by the {@link
org.apache.camel.processor.interceptor.BacklogTracer}.
+ * Represents a traced message by the BacklogTracer.
*/
public interface BacklogTracerEventMessage extends Serializable {
String ROOT_TAG = "backlogTracerEventMessage";
String TIMESTAMP_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
+ /**
+ * Unique id of the traced message
+ */
long getUid();
+ /**
+ * Timestamp of the traced event
+ */
long getTimestamp();
+ /**
+ * Route id
+ */
String getRouteId();
+ /**
+ * Node id where the message is being routed to
+ */
String getToNode();
+ /**
+ * The exchange id
+ */
String getExchangeId();
+ /**
+ * The content of the message as XML (body and headers)
+ */
String getMessageAsXml();
/**