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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA single remote endpoint call captured during the exchange lifecycle. -
Method Summary
Modifier and TypeMethodDescriptionlongTotal elapsed time in milliseconds for the exchange.List of remote endpoints that were called during the exchange lifecycle.The exception message if the exchange failed, or null if successful.The exchange id.The endpoint URI of the route consumer (the "from" endpoint).The route id where the exchange originated.longTimestamp when the exchange was created.longgetUid()Unique trace counter for this activity entry.booleanisFailed()Whether the exchange failed.
-
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<BacklogTracerActivityMessage.EndpointSend> 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.
-