I want to inspect each message before it hits consumers or sagas.
I think I want an IInboundMessageInterceptor but I can’t see an easy way to inject a custom one.
How can I achieve message interception in MT? And/Or how can I configure the bus with a custom IInboundMessageInterceptor?
I want to inspect each message before it hits consumers or sagas. I think
Share
You can do the following.
Your interceptor must implement IInboundMessageInterceptor
You can then write an interceptor like so