[rabbitmq-discuss] RabbitMQ basic.get and acknowledgement

Marek Majkowski majek04 at gmail.com
Mon Oct 24 10:56:18 BST 2011


On Fri, Oct 21, 2011 at 15:57, Marek Majkowski <majek04 at gmail.com> wrote:
> On Fri, Oct 21, 2011 at 15:39, Bozhidar Bozhanov
> <bozhidar.bozhanov at gmail.com> wrote:
>> That one I figured out myself :) but what could it be, given default
>> setup, and the above code?
>
> There is not much to be said about given code.
> Can you supply us with a runnable code?

Bozhidar,

Were you able to locate the problem?

If not, let me elaborate my previous email :)

Take a look at the this tutorial:
    http://www.rabbitmq.com/tutorials/tutorial-two-python.html
    https://github.com/rabbitmq/rabbitmq-tutorials/blob/master/python/worker.py

Although it doesn't use `basic.get` (it uses `basic.consume`) and it
uses `basic.ack`.

Here is an example with `basic.get`:
   https://github.com/pika/pika/blob/master/examples/blocking/demo_get.py

This examples do work.

In order to help you we need to see a wider context of your
app. It would be great if you could reduce your app
to few dozen lines and supply us with the code. Only
then we would be able to give you a hand.

Cheers,
   Marek


More information about the rabbitmq-discuss mailing list