Interface IOutboundMessageFilter
- Namespace
- Silverback.Messaging.Producing.Filter
- Assembly
- Silverback.Integration.dll
Can be used to filter out messages that should not be produced.
public interface IOutboundMessageFilter
Methods
ShouldProduce(IOutboundEnvelope)
Returns a value indicating whether the specified message should be produced.
bool ShouldProduce(IOutboundEnvelope envelope)
Parameters
envelopeIOutboundEnvelopeThe envelope containing the message to be filtered.
Returns
- bool
A value indicating whether the message should be produced.