<div dir="ltr"><div class="gmail_extra">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 AMQP_BASIC_ACK_METHOD.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">You should read these frames by calling amqp_simple_wait_frame().</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Alan<br><br><br><div class="gmail_quote">
On Mon, Jul 8, 2013 at 6:51 PM, 3k4b251 <span dir="ltr">&lt;<a href="mailto:314992959@qq.com" target="_blank">314992959@qq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I �use �amqp_confirm_select() �to �support confirm send message. � But �I<br>
need �to �get �the �return �by � amqp_simple_wait_frame() �?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/rabbitmq-c-confirmation-tp27910.html" target="_blank">http://rabbitmq.1065348.n5.nabble.com/rabbitmq-c-confirmation-tp27910.html</a><br>
Sent from the RabbitMQ mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br></div></div>