lyra
lyra copied to clipboard
Proposed changes for "Avoid static list of Addresses in ConnectionHandler"
Among the options discussed, have chosen Option 2 since it easily integrates with the underlying AMQP library. This option only makes a minimal intrusion in the underlying code.
An AddressResolver is introduced and is referenced in the ConnectionOptions. Whenever a connection is being re-attempted, the resolver is called back to retrieve the set of addresses.