Can a subscriber also publish/send message in NServiceBus?
Asked Answered
K

1

2

Is the communication bi-directional in NServiceBus?

a subscriber can also publish/send message?

Kaneshakang answered 13/3, 2010 at 5:52 Comment(0)
D
2

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.

Darfur answered 13/3, 2010 at 18:40 Comment(5)
if subscriber publish messages, only the subscriber's publisher will get the message?Kaneshakang
Is NServiceBus suitable for this scenario: #2437956?Kaneshakang
The fact that a given subscriber S1 also publishes messages has no effects on the original publisher P1. If subscriber S2 is subscribed to the messages that S1 publishes, it doesn't care that S1 is subscribed to P1.Darfur
@Udi Dahan : Can you elaborate your answer, i'm trying to use NServiceBus with 4 Windows Service whose have to act both as Publisher and Subscribers to communicate between all these 4 applications.Mafala
Yoann, the comments here aren't a great place for elaboration. I suggest you post your question to the discussion group: tech.groups.yahoo.com/group/nservicebusDarfur

© 2022 - 2024 — McMap. All rights reserved.