I am using the Spring AMQP library .How do I configure connectionTimeouts and socketTimeouts in CachingConnectionFactory.I assume it must internally use http://www.rabbitmq.com/javadoc/com/rabbitmq/client/ConnectionFactory.html#setConnectionTimeout(int)
We have an open JIRA to expose some more of these attributes, which should be in the next releease.
In the meantime, you can wire up a Rabbit ConnectionFactory
and provide it to the CachingConnectionFactory
- see the documentation.