Retry new connection when HB read fails. First cut:
authorgmallard <allard.guy.m@gmail.com>
Wed, 15 May 2013 17:09:02 +0000 (13:09 -0400)
committergmallard <allard.guy.m@gmail.com>
Wed, 15 May 2013 17:09:02 +0000 (13:09 -0400)
commitd922fa4e660c44f1d81359947c1768eea1f69cd7
tree98d3a487e9cf5bfedf69cccebeb9bc27338f7fda
parent91744f07fe22073dda91054c5f90e4e72258b144
Retry new connection when HB read fails. First cut:

When @reliable is true, and a heart-beat receive fails,
clean up the current environment, and attempt a
fail over reconnect under the following conditions:

* The :max_hbread_fails connect hash parameter is greater than 0
* The running read failure count is greater than :max_hbread_fails
README.rdoc
lib/connection/heartbeats.rb
lib/connection/utils.rb
lib/stomp/client.rb
lib/stomp/connection.rb