<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="font-family:arial,sans-serif;font-size:13px">Rohit;</span><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px"><br><div class="gmail_quote"><div class="im">On Thu, Jan 9, 2014 at 2:25 AM, Rohit Patle <span dir="ltr"><<a href="mailto:Rohit.Patel2@techmahindra.com" target="_blank">Rohit.Patel2@techmahindra.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="direction:ltr;font-size:10pt;font-family:Tahoma">
Hi Alan,<br><br>Thanks you for your advise. But I am facing following issues with your suggestions as:<br><br>1. After doing #rabbitmqctl list_channels client_flow_blocked, I could see the "false" value is default set there. While using amqp_login(), I am unable to find  the "<span style="font-size:10pt">capabilities table</span>" to set <span style="font-size:10pt">'connection.blocked'=true as mentioned. Please let me know how to do it.<br>
</span></div></blockquote><div><br></div></div><div>You pass in an amqp_table_t with an entry with the key 'capabilites' and type table, that table should contain an entry with a key name 'connection.blocked', type boolean, and value of 1.  SimpleAmqpClient has some code that does something similar with consumer notifications:</div>
<div><a href="https://github.com/alanxz/SimpleAmqpClient/blob/2847a8cacd6499c9973b99e0b7b3694c36e90f79/src/ChannelImpl.cpp#L71" target="_blank">https://github.com/alanxz/SimpleAmqpClient/blob/2847a8cacd6499c9973b99e0b7b3694c36e90f79/src/ChannelImpl.cpp#L71</a><br>
</div><div class="im"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<span style="font-size:10pt"><br>2.  While using </span><span style="font-size:10pt">amqp_simple_wait_frame_noblock()</span> I am unable to find the enum values you mentioned(<span style="font-size:10pt">AMQP_CONNECTION_BLOCKED_METHOD and</span><span style="font-size:10pt">AMQP_CONNECTION_UNBLOCKED_METHOD</span>) which I supposed to get as result of <span style="font-size:10pt">amqp_simple_wait_frame_noblock() in amqp.h or amqp_framing.h. Please suggest.<br>
</span></div></blockquote><div><br></div></div><div>The connection.blocked method is fairly new and has only just recently added to the master branch (there are no tagged releases with connection.blocked support in it yet). The documentation you're looking has not caught up. Those values will be in amqp_framing.h (see: <a href="https://github.com/alanxz/rabbitmq-c/blob/master/librabbitmq/amqp_framing.h#L186" target="_blank">https://github.com/alanxz/rabbitmq-c/blob/master/librabbitmq/amqp_framing.h#L186</a> )</div>
<div class=""><div id=":3ll" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/images/cleardot.gif" style=""></div></div><span class=""><font color="#888888"><div><br></div><div>-Alan</div></font></span></div>
</div>
<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>
<br></blockquote></div><br></div></div>