What happens if you don't disable connection checking?
If I don't disable it, clients continue to receive messages as expected.
by the way, noticed mad an error in the title of this thread - 'client failure check period = 1' should be 'client failure check period = -1'.
I think this is to be expected.
By setting client-failure-check-period to -1 you're disabling the automatic cleanup of connections on client failure.
Tim - I could understand not cleaning up resources at the server, i.e. causing memory leaks, resource usage, etc. But should it cause messages to stop being sent to all other clients? I have my server setup to send messages with no blocking, non-durable, pre-ack, so I'm expecting messages to continue to flow to the clients that are still connected.
What's happening here is because you are setting client-failure-check-period to -1, no pings ever get sent to the server, so the server will timeout both connections after connection ttl, irrespective of whether they've crashed or not.
If you set Configuration.clientttloverride to a large value, e.g. Long.MAX_VALUE / 2 you should prevent this. (Don't make it Long.MAX_VALUE or the calc will overflow)
However, it doesn't really make sense for you to disable client failure checking if your clients have a possibility of crashing, since you'll get resource leaks.