Messaging through a service bus in .NET using MassTransit part 8: observing events in the bus
October 6, 2016 1 Comment
Introduction
In the previous post we learned how to intercept messages in MassTransit. We can intercept messages using various observer interfaces when sending, publishing, receiving and consuming messages. We cannot modify the message content so they are read-only operations. The implemented interfaces need to be registered with the bus so that we can do any extra work on the messages such as logging or debugging.
In this post we’ll see how to register events that happen in the bus.