订户还可以在NServiceBus中发布/发送消息吗? [英] Can a subscriber also publish/send message in NServiceBus?
本文介绍了订户还可以在NServiceBus中发布/发送消息吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
NServiceBus 中的通信是双向的吗?
Is the communication bi-directional in NServiceBus?
订阅者还可以发布/发送消息吗?
a subscriber can also publish/send message?
推荐答案
NServiceBus确实支持双向通信,订阅者也可以发布消息.将其配置为通常的发布者,为来自其他发布者的事件编写处理程序,在UnicastBusConfig中配置消息,然后完成.
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.
这篇关于订户还可以在NServiceBus中发布/发送消息吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文