Interface BacklogTracerActivityMessage


public interface BacklogTracerActivityMessage
Lightweight summary of a completed exchange captured by the BacklogTracer activity queue.

Unlike BacklogTracerEventMessage which captures full message snapshots (body, headers, properties) at each route node, activity messages contain only exchange-level metadata and a list of remote endpoints that were called during the exchange lifecycle. This makes them suitable for live monitoring dashboards without the overhead of full tracing.

Since:
4.22
  • Method Details

    • getUid

      long getUid()
      Unique trace counter for this activity entry.
    • getTimestamp

      long getTimestamp()
      Timestamp when the exchange was created.
    • getExchangeId

      String getExchangeId()
      The exchange id.
    • getRouteId

      String getRouteId()
      The route id where the exchange originated.
    • getFromEndpointUri

      String getFromEndpointUri()
      The endpoint URI of the route consumer (the "from" endpoint).
    • getElapsed

      long getElapsed()
      Total elapsed time in milliseconds for the exchange.
    • isFailed

      boolean isFailed()
      Whether the exchange failed.
    • getExceptionMessage

      String getExceptionMessage()
      The exception message if the exchange failed, or null if successful.
    • getEndpointSends

      List of remote endpoints that were called during the exchange lifecycle.

      Only remote endpoints are captured (endpoints where Endpoint.isRemote() returns true). Internal endpoints like direct, seda, timer, and log are excluded.