Interface IPredicate
Predicate for conditional message processing in route pipelines.
Determines whether a given condition is satisfied for a specific exchange.
Used by filter, choice, when, and other routing constructs.
public interface IPredicate
Methods
Matches(IExchange)
Evaluates the predicate synchronously against the exchange.
bool Matches(IExchange exchange)
MatchesAsync(IExchange)
Evaluates the predicate asynchronously against the exchange.
Task<bool> MatchesAsync(IExchange exchange)