[zeromq-dev] Using ØMQ just as in-memory queue

Martin Sustrik sustrik at 250bpm.com
Mon Sep 12 20:05:19 CEST 2011


On 09/12/2011 07:52 PM, Anatoly wrote:

> "If I need to consume different typed messages in order they were sent.
> In case I use PUB/SUB; to ensure the perfect order, I should use a
> single socket, and have a single subscriber that is subscribed to
> everything ( "zmq_setsockopt (subscriber, ZMQ_SUBSCRIBE,"",...);" ) [
> and then I should parse out a message type manually => no point to
> create pubsub envelopes, etc.. ]?"

Yes. You've got it right.

Martin



More information about the zeromq-dev mailing list