<div dir="ltr">Hi,<br><br>I&#39;ve been searching around for a way to specify a connect timeout in the Java client, but couldn&#39;t find an easy way to do that. There is one way, which is by extending ConnectionFactory with a custom createFrameHandler method, but that doesn&#39;t work with my case since I&#39;m using Spring AMQP support on top of the client API.<br>

<br>It would be very useful to add an option for that in the ConnectionFactory which, if specified, would be passed to the socket connect call.<br><br>Similar (old) thread: <a href="http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-November/005291.html">http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-November/005291.html</a><br>

<br>Kind Regards,<br clear="all"><br>-- <br>Amr Mostafa<br>Egypt Development Center<br>Member of NTG<br>Mobile: +(2012)1700502<br>Office: +(202)24052355/6 - Ext.: 2005<br>
</div>