[rabbitmq-discuss] channel.flow in pyampqlib
matthias at rabbitmq.com
Thu Sep 30 18:18:07 BST 2010
On 29/09/10 10:09, mabrek wrote:
> Java client uses blocking IO. It would hang on writing to server that
> throttles producers.
> Do you have any plans to switch java client to non-blocking IO (NIO)
> and introduce timeouts in content sending methods?
you could try setting a timeout on the socket with setSoTimeout. One
place to do that is by overriding
I haven't tried this myself, and it may not work, or indeed break other
parts of the client API. But it's worth a shot.
More information about the rabbitmq-discuss