[rabbitmq-discuss] [help] Why erlang client's connection has not timeout, but Java client does.

Simon MacMullen simon at rabbitmq.com
Mon Oct 17 14:46:01 BST 2011

On 17/10/11 04:47, Wang Bin wrote:
> But in erlang client, #amqp_params_network only has heartbeat, and we
> can't configure the connection timeout.

Huh. You're right. I'll file a bug.

If you want to work around it in the meantime, change the uses of 
gen_tcp:connect/3 to gen_tcp:connect/4 in 

Cheers, Simon

Simon MacMullen
RabbitMQ, VMware

More information about the rabbitmq-discuss mailing list