Is the communication bi-directional in NServiceBus?
a subscriber can also publish/send message?
Is the communication bi-directional in NServiceBus?
a subscriber can also publish/send message?
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.
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.