Interface IFilterObserver
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public interface IFilterObserver
Methods
PostSend<T>(T)
Called after the message has been dispatched to all consumers - note that in the case of an exception this method is not called, and the DispatchFaulted method is called instead
Task PostSend<T>(T context) where T : class, PipeContext
Parameters
context
T
Returns
Type Parameters
T
PreSend<T>(T)
Called before a message is dispatched to any consumers
Task PreSend<T>(T context) where T : class, PipeContext
Parameters
context
TThe consume context
Returns
Type Parameters
T
SendFault<T>(T, Exception)
Called after the message has been dispatched to all consumers when one or more exceptions have occurred
Task SendFault<T>(T context, Exception exception) where T : class, PipeContext
Parameters
context
Texception
Exception
Returns
Type Parameters
T