Retry new connection on HB read lock obtain fail.
authorgmallard <allard.guy.m@gmail.com>
Sat, 18 May 2013 14:48:14 +0000 (10:48 -0400)
committergmallard <allard.guy.m@gmail.com>
Sat, 18 May 2013 14:48:14 +0000 (10:48 -0400)
commit6b4db3948f3ccb82740e8d829d3948e69538a4f6
treef4d82ec73203ea0387aaa59e0211052401a8b6c9
parent921b261238245488bce59a10be62195ad3d34075
Retry new connection on HB read lock obtain fail.

When @reliable is true, and a read heart-beat can not obtain the
read lock, clean up the current environment, and attempt a
fail over reconnect under the following conditions:

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