[rabbitmq-discuss] python hello world
Tony Garnock-Jones
tonyg at lshift.net
Tue May 6 12:30:09 BST 2008
Hi Mark,
Lynton's kindly sent his example program. You might also be interested
in exploring Barry Pedersen's Python AMQP client,
http://barryp.org/software/py-amqplib/, which has a few example programs
that come with it, notably
http://hg.barryp.org/py-amqplib/file/tip/demo/demo_receive.py and
http://hg.barryp.org/py-amqplib/file/tip/demo/demo_send.py
With regard to your other question, RabbitMQ by default doesn't ship
with *any* queues preconfigured. You need to create them from your
applications using queueDeclare() - for instance, from Barry's Python
AMQP library documentation,
ch.queue_declare('queue name')
Barry's written up a nice overview document that's available at
http://hg.barryp.org/py-amqplib/raw-file/tip/docs/overview.txt.
Regards,
Tony
mark wrote:
> Hi
> I have rabbitmq-server 1.3 installed and running, and python qpid installed.
> Can you give a very basic example how to set and get from a queue? How
> many queues does rabbitmq-start?
>
> thanks
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
--
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211
[][] LShift Ltd | Tel: +44 (0)20 7729 7060
[] [] http://www.lshift.net/ | Email: tonyg at lshift.net
More information about the rabbitmq-discuss
mailing list