EventAggregator and 0MQ/ZMQ

Topics: Prism v4 - WPF 4
Oct 11, 2012 at 5:37 PM

Hello everybody,

I just want to ask if anybody thought about it or already modified/extend the EventAggregator to solve this issue.

It would be great if an Event can be published using 0MQ.
For example:

.. PC1
.... Application1.Module1.Publish<HelloEvent>("Hello From PC1");
.... Application1.Module2.Subscribe<HelloEvent>(OnHello);
.... Application2.Module1.Subscribe<HelloEvent>(OnHello);
.. PC2
.... Application1.Module1.Subscribe<HelloEvent>(OnHello);
.. PC1
.... Application1.Module1.Subscribe<HelloEvent>(OnHello);

Means we can Publish/Subscribe through AppDomains and further.

Any suggestions are appreciated.

Kind regards




Oct 11, 2012 at 7:56 PM


Based on my understanding, 0MQ/ZMQ is a library designed to send messages asynchronously in distributed or concurrent applications (that is, external communications between other process or computers.)

I am not aware of any work regarding a modified version of the EventAggregator to be compatible with 0MQ, but in my opinion, as the objective of the current EventAggregator implementation (that is, sending messages between loosely coupled components inside an application) is very different from the objective of the 0MQ library, it might not be possible to adapt the EventAggregator to this purpose.

Rather than modifying the EventAggregator, I believe it could make more sense to implement a completely new service to use the 0QM library and build a bridge between the EventAggregator and the service to translate events to 0QM messages and backwards.


Damian Cherubini

Oct 12, 2012 at 10:03 AM

Thank you. That´s the point.