Re: auto-reconnection ZooKeeper proxy?

2008-07-22 Thread James Strachan
I've been experimenting with the WriteLock implementation to deal with server failure; I've found that its maybe too simplistic creating a reconnecting ZooKeeper proxy; instead I'm just making it easy to retry operations (or arbitrary ZK code blocks) using a helper class (currently called ProtocolS

auto-reconnection ZooKeeper proxy?

2008-07-18 Thread James Strachan
I work on the ActiveMQ project which implements the JMS API - which is a kinda complex thing but it involves a number of objects (Connections, Sessions, Producers, Consumers). In some JMS providers its the end users responsibility to deal with detecting a connection failure (from any other kind of