ebin123456 / py-amqplib

Automatically exported from code.google.com/p/py-amqplib
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Channel.flow control patch by Tony Garnock-Jones works in 0.6.2devel #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which version of amqplib are you using?
0.6.1  and 0.6.2devel with tonyg's patch for enabling channel.flow control.

Have you checked to see if there is a newer version in the "Featured
Downloads" section of the front page of this project?

Which broker are you using (RabbitMQ?) which version?

1.7.2
Which version of Python?

2.5 and 2.6

I'm just reporting that tonyg's  http://gist.github.com/399282   patch to add 
channel flow
control works.  I've applied it and tested it in the 0.6.2devel branch.

The only caveat is that after a basic_publish you need to issue something that 
requires
a response from the server.  In my test issuing channel.access_request  worked 
to enable
my client to detect that flow control was enabled/on.

Original issue reported on code.google.com by zirpubo...@gmail.com on 24 May 2010 at 8:06

GoogleCodeExporter commented 9 years ago
apparently access_request is going away.  redeclaring the exchange also works 
as a no-op to get the 
channel.flow message.

Original comment by zirpubo...@gmail.com on 24 May 2010 at 8:49