[rabbitmq-discuss] rabbitmq-c close channel already but still get message from the channel

Brett Cameron brett.r.cameron at gmail.com
Sat Jun 15 06:55:50 BST 2013


If you just want your client to "pull" one message at a time then you can
use amqp_basic_get() (AMQP basic.get) instead of doing the basic.consume
thing; however this is a generally less efficient (although somewhat
simpler to implement).

Brett


On Sat, Jun 15, 2013 at 1:57 PM, 3k4b251 <314992959 at qq.com> wrote:

> you means the  broker  send messages  to client   as soon  as   use
> basic.consume() ?
>
>
>
> --
> View this message in context:
> http://rabbitmq.1065348.n5.nabble.com/rabbitmq-c-close-channel-already-but-still-get-message-from-the-channel-tp27390p27402.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130615/ac6ad307/attachment.htm>


More information about the rabbitmq-discuss mailing list