Interface IMessageFilter
- Namespace
- Silverback.Messaging.Subscribers
- Assembly
- Silverback.Core.dll
Filters the messages to be processed.
public interface IMessageFilter
Methods
MustProcess(object)
Returns a boolean value indicating whether the specified message must be processed by the subscribed method decorated with this attribute.
bool MustProcess(object message)
Parameters
messageobjectThe message to be checked.
Returns
- bool
A boolean value indicating whether the message must be processed by the subscribed method.