[rabbitmq-discuss] Disallow clients without heartbeat
Francesco Mazzoli
francesco at rabbitmq.com
Wed Aug 1 09:07:18 BST 2012
At Tue, 31 Jul 2012 17:23:45 -0400,
Dave Curylo wrote:
> I would like all my clients to specify a heartbeat so the server will
> disconnect them automatically if they become unresponsive. Is there any way on
> the message broker to require that clients set a heartbeat, and disallow
> connections from clients that don't?
No, you can't. You might be able to hack something up with a plugin. The code
that accepts the `tune_ok' frames and sets up the heartbeats is in
`rabbit_reader.erl'.
--
Francesco * Often in error, never in doubt
More information about the rabbitmq-discuss
mailing list