[zeromq-dev] Newbie question: How to reroute messages to different workers (C#)

Pieter Hintjens ph at imatix.com
Mon May 21 22:59:17 CEST 2012


Read the Guide chapters 2, 3 and 4 and it'll help.


On Mon, May 21, 2012 at 2:15 PM, Frank Gynnild <frank at gynnild.com> wrote:
> Hi,
> I'm trying to use this example (C#) http://zguide.zeromq.org/cs:mtserver,
> but with
> a twist. Based on the contents of the message from the clients, I want the
> router
> two to deal to two different dealers (without the client know what worker
> they actually connect
> too). I guess I could create different end points, one for each type, but I
> figured it's more
> elegant to use identities.
> On the worker side, I've set the identities through StringToIdentity, and I
> try to
> 'inject' the identity through sending it in the RelayMessage, but no luck so
> far.
> I'd be very happy if someone can point me in the right direction.
> Thanks :-)
> Frank
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list