Class MessageHistory
Access and formatting for the per-exchange message history (Apache Camel Message History EIP).
When enabled (globally via RouteEngineOptions.EnableMessageHistory or per route via
.MessageHistory()), each node is wrapped so it appends a
as the exchange passes through, stored on the exchange under in a
thread-safe queue (Split/Multicast append concurrently). The trail is dumped on failure.
public static class MessageHistory
Inheritance
Methods
Format(IExchange)
Renders the history as a table (columns: RouteId · Id · Processor · Elapsed/ms), the way Camel
public static string Format(IExchange exchange)
GetEntries(IExchange)
Returns the recorded history for the exchange (empty if none / disabled).
public static IReadOnlyList<MessageHistoryEntry> GetEntries(IExchange exchange)