[rabbitmq-discuss] drop connection it is not available

Tim Watson watson.timothy at gmail.com
Wed Oct 30 10:55:56 GMT 2013


On 29 Oct 2013, at 21:59, xeon <psdc1978 at gmail.com> wrote:

> If the rabbitmq cannot acess a queue because is down, and a client tries to send a message to the offline queue, the connection keeps hang for a long time. Is there a way to make the connection drop quickly when it is not possible to access the queue?

Can you explain this a bit more clearly please. Clients publish to exchanges, not queues. Unroutable messages are dropped on the floor, unless confirms are in use. So what exactly are you trying to do here?

If you need timely detection of connectivity problems, enabling heartbeats is the way to go, but it's not clear whether or not that's the issue you're asking about. If you just want to know about unroutable messages then producer confirms are the recommended approach.

Tim


More information about the rabbitmq-discuss mailing list