From: "Richard W.M. Jones" <rich@annexia.org>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] [ANN] Netamqp, a client for AMQP-0-9-1
Date: Mon, 19 Sep 2011 18:08:40 +0100 [thread overview]
Message-ID: <20110919170840.GA4596@annexia.org> (raw)
In-Reply-To: <1301320989.8429.507.camel@thinkpad>
On Mon, Mar 28, 2011 at 04:03:09PM +0200, Gerd Stolpmann wrote:
> the ocaml team at Mylife is proud to release another library to the
> public: Netamqp is a client of the AMQP-0-9-1 protocol which is used to
> talk to message queue servers. Netamqp is an independent implementation
> of such a client, and not simply a wrapper around a C library. Netamqp
> has been tested against RabbitMQ.
Gerd, have you tried to interoperate with any other language?
I tried examples/t_sender.ml along with the following Python receiver
(all on the same RabbitMQ instance), but the Python code didn't appear
to see any messages at all. I'm quite probably doing something stupid.
----------------------------------------------------------------------
#!/usr/bin/python
import pika
connection = pika.BlockingConnection(pika.ConnectionParameters(
'localhost'))
channel = connection.channel()
channel.queue_declare(queue='test_xy')
def callback(ch, method, properties, body):
print " [x] Received %r" % (body,)
channel.basic_consume(callback,
queue='test_xy',
no_ack=True)
print ' [*] Waiting for messages. To exit press CTRL+C'
channel.start_consuming()
----------------------------------------------------------------------
Rich.
--
Richard Jones
Red Hat
next prev parent reply other threads:[~2011-09-19 17:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 14:03 Gerd Stolpmann
2011-09-19 17:08 ` Richard W.M. Jones [this message]
2011-09-20 10:26 ` Gerd Stolpmann
2011-09-20 11:46 ` Richard W.M. Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110919170840.GA4596@annexia.org \
--to=rich@annexia.org \
--cc=caml-list@inria.fr \
--cc=info@gerd-stolpmann.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox