[rabbitmq-discuss] How to configure timeout for rabbit client

Emile Joubert emile at rabbitmq.com
Thu Jul 22 11:47:14 BST 2010


On 21/07/10 18:29, Emile Joubert wrote:
> On 19/07/10 23:31, Gaston Quezada wrote:
>> Hi All,
>>
>> How can I to change the socket timeout for rabbit client for jvm 1.4.2.?
>>
>> Thanks..
> 
> Hi Gaston,
> 
> The java client does not currently support setting a socket timeout
[...]

Hi Gaston,

Actually this is possible - com.rabbitmq.client.ConnectionFactory has a
configureSocket() method that allows you to configure the timeout value
of the socket.

Regards

Emile


More information about the rabbitmq-discuss mailing list