问题
Using NServiceBus 4 it is possible to get at the message being handled by the current thread? IBus offers a CurrentMessageContext, but not the current message itself.
We would like to access the current message from our Ninject bindings so that we can control what types to inject into our message handlers.
来源:https://stackoverflow.com/questions/25689768/is-it-possible-to-get-at-the-current-incoming-nservicebus-message