[zeromq-dev] Publisher receiving message it publishes

Pieter Hintjens ph at imatix.com
Thu Apr 5 13:08:47 CEST 2012

On Wed, Apr 4, 2012 at 10:59 AM, Ronald Swain <proj_symbian at live.com> wrote:

> I have PUB/SUB system with a zmq FORWARDER device, and there all clients
> have the capability of sending and receiving , so what is happening, that
> whenever a single client publishes a message all other subscriber get it
> which is correct, but also my publisher is a subscriber too, so my publisher
> also gets that message, i want the publisher to ignore that.

Add a field with the sender ID, ensure you have unique sender IDs, and
ignore any messages from yourself.


More information about the zeromq-dev mailing list