views:

219

answers:

2

Is the communication bi-directional in NServiceBus?

a subscriber can also publish/send message?

+1  A: 

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.

Udi Dahan
if subscriber publish messages, only the subscriber's publisher will get the message?
Benny
Is NServiceBus suitable for this scenario: http://stackoverflow.com/questions/2437456/communication-framework-recommendation?
Benny
Thanks again. really.
Benny
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.
Udi Dahan
@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.
Yoann. B
Yoann, the comments here aren't a great place for elaboration. I suggest you post your question to the discussion group: http://tech.groups.yahoo.com/group/nservicebus/
Udi Dahan
A: 

When i trying to republish the same message which i subscribe(in message handler), it's throwing an error saying 'Cannot change headers on the message being processed'. Please help.

Rakitha