I want to deliver events from a server application to multiple clients. Since I use wcf to expose the service interface for clients, I looked at the ascc wcf callback mechanism, but it does not seem to support sending a single message to multiple clients. Is MSMQ the best way to implement event delivery to multiple clients.
Thanks.
=== EDIT ===
Using MSMQ, I was able to achieve what I needed.
My server app creates a queue from which clients retrieve messages. The client uses the peek method provided by MessageQueue. This allows you to send messages to the queue to other clients.
To avoid filling the queue with messages, the server sends messages with the TimeToBeReceived property with a very low value, as a result of which the message expires.
It is unfortunate that MSMQ does not provide topics such as JMS
=== EDIT 2 ===
Having implemented the publisher subscriber template in WCF is easy.
These two articles ( article1 , article2 ) describe how this can be done.
source
share