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