On 10/21/2009 08:48 PM, Alan Conway wrote:
Currently there is functionality built-in to client::Connection to check
if there's an amq.failover exchange, and if there is to subscribe for
updates. This is exposed to the user as
client::Connection::getKnownBrokers() which returns the updated set of
brokers in the cluster.

I sorely regret building this in to client::Connection as has been
nothing but trouble. Currently it's causing sporadic memory leaks. It
also does extra work on _every_ Connection::open that is entirely
useless if you're not talking to a qpid C++ clustered broker.

I'd like to take it out and provide the functionality as a separate
class that users can employ if they actually want this functionality.

Could this alternative mechanism also be used to provide the same semantics for the existing Connection::getKnownBrokers() call?

Anyone know a reason why I shouldn't do this?

Cheers,
Alan.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to