[rabbitmq-discuss] rabbitmq-c confirmation
alan.antonuk at gmail.com
Tue Jul 9 03:12:57 BST 2013
If you put a channel in confirm mode by running the amqp_confirm_select()
function, after calling amqp_basic_publish() you will need to check for a
basic.ack (AMQP_BASIC_ACK_METHOD) method from the broker. If you set the
mandatory flag while publishing you and your message cannot be routed to a
queue, then you will get a AMQP_BASIC_RETURN_METHOD method, followed by the
message (1 header frame + 1 or more body frames), followed by a
You should read these frames by calling amqp_simple_wait_frame().
On Mon, Jul 8, 2013 at 6:51 PM, 3k4b251 <314992959 at qq.com> wrote:
> I use amqp_confirm_select() to support confirm send message. But I
> need to get the return by amqp_simple_wait_frame() ?
> View this message in context:
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss