Class NotifyMatcher
Counts exchange events (received / completed / failed) for the scope chosen in
and reports when the configured conditions hold.
Registered as an ; events arrive from the route's outermost
wrapper, so "completed" and "failed" reflect the final outcome after error handling.
public sealed class NotifyMatcher : IRouteLifecycleListener, IDisposable
Inheritance
Implements
Properties
CompletedCount
Exchanges that completed without a propagated exception.
public int CompletedCount { get; }
Methods
Dispose()
Stops counting. The listener registration stays with the context but ignores further events.
public void Dispose()
MatchesAsync(TimeSpan, CancellationToken)
Waits up to timeout for the conditions to hold; false on timeout.
public Task<bool> MatchesAsync(TimeSpan timeout, CancellationToken ct = default)