Using the Keep-Alive Feature with a Shared Connection
If you want your clients to use the keep-alive feature and also share a connection, all clients sharing the connection must use the same BrokerConnectionDescriptor object or, if using individual BrokerClientDescription objects, must use identical keep-alive parameter values.