Publish/Subscribe (Outof Process)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Folks
I am working on a applications which needs a publish/subscribe model to
handle events. There can be various components involved and some maybe out of
process.

Ideally I would like to have Windows Service where these different
components can publish there status to and a GUI app that can subscribe to
these statuses and be notified.

What is the best way to go about implementing this ?
Any suggestions ??

Thanks in advance..
 
Hi Veriblue,

You need to use events. You can have public interfaces for the publisher in
which you define an event. The subscribers can hook into this event and then
handle it. A generic event-model might be a good choice for the type of
events. Is this what you are trying to accomplish?

HTH,
- Rakesh Rajan
 
Seeing as how some of the components may be out-of-proccess, one mechanism
you may want to consider is Message Queueing (MSMQ).
 
Thanks, how about COM+ Events, I read somewhere that it can do loosley
coupled event ..is it something that can be used in this scenario ? and could
you please post any good links you have for MSMQ
 
The Visual Studio (MSDN) help files contain all the information you need to
get started with MSMQ.
 
Back
Top