Can a subscriber also publish/send message in NServiceBus?

倾然丶 夕夏残阳落幕 提交于 2019-12-24 03:49:09

问题


Is the communication bi-directional in NServiceBus?

a subscriber can also publish/send message?


回答1:


NServiceBus does indeed support bi-directional communication, a subscriber can publish messages as well. Configure it as a publisher as per-usual, write handlers for events coming from other publishers, configure the messages in the UnicastBusConfig, and you're done.



来源:https://stackoverflow.com/questions/2437423/can-a-subscriber-also-publish-send-message-in-nservicebus

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