[rabbitmq-discuss] Problem with the example_consume from the c++ wrapper amqpccp
TZHA
sophiewenxizhang at googlemail.com
Thu Nov 24 16:13:24 GMT 2011
Rabbitmq version 2.4.1 / R14B03 is used.
On 24 Nov., 16:54, TZHA <sophiewenxizh... at googlemail.com> wrote:
> I am using the c++ wrapper for librabbitmq (C client) - with windows
> client and linux server. The example with get and different
> configurations is ok. The example_consume.cpp does work.
>
> It seems to me that the consumer was registered at the server (I could
> see it the web admin for the rabbitmq server). However, the client
> didn't get any result from the queue.
>
> It seems to me that in AMQPQueue::sendConsumeCommand()
>
> while(1) {
> amqp_maybe_release_buffers(*cnn);
> int result = amqp_simple_wait_frame(*cnn, &frame);
> if (result <= 0) return;
>
> The "result" is always 0. It seems to me that the "delivery" was not
> called.
>
> The queue was not empty.
>
> Am i missing something?
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list