Is it possible to get at the current incoming NServiceBus message?

[亡魂溺海] 提交于 2019-12-25 03:24:43

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!