[rabbitmq-discuss] Publish/subscribe in RabbitMQ

Mike Hadlow mike.hadlow at 15below.com
Mon Jul 11 11:31:16 BST 2011

Hi Demi,

I've been writing a 'high level' API for RabbitMQ on .NET. It might give you some pointers:


From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Demiss Zike
Sent: 08 July 2011 17:59
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: [rabbitmq-discuss] Publish/subscribe in RabbitMQ

I am using RabbitMQ to publish/subscribe. I have a class (in C#) that has the following methods to do this job:

    void write (Measurement m);
    Measurement read();
    void publish(string queue);
    Measurement subscribe(string queue);

I am having difficulty separating writing a message from publishing the message to a queue (or reading a message from subscribing to a queue for that message). What would be the best method of design/implementation?


15below Limited: Company registered in England and Wales No 3945289
Registered Office: Lyndean House, 43-46 Queens Road, Brighton BN1 3XB, United Kingdom

15below Australia Pty Limited: ABN 25 132 716 379
Level 50, 120 Collins Street, Melbourne, Victoria 3000, Australia

Please think about the environment before printing this email.

This email and any attachments may be confidential and/or legally privileged and are solely for the use of the intended recipient. If you have received this email in error please contact the sender. Any views or opinions expressed within this e-mail are solely those of the sender, and do not necessarily represent those of 15below unless otherwise specifically stated. Although 15below has taken every reasonable precaution to ensure that any attachment to this e-mail has been checked for viruses, it is strongly recommended that you carry out your own virus check before opening any attachment, as we cannot accept liability for any damage sustained as a result of software virus infection.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110711/fc7af4e6/attachment.htm>

More information about the rabbitmq-discuss mailing list