Package com.rabbitmq.client
Class ListAddressResolver
java.lang.Object
com.rabbitmq.client.ListAddressResolver
- All Implemented Interfaces:
AddressResolver
Simple implementation of
AddressResolver
that returns a fixed list.-
Constructor Details
-
ListAddressResolver
-
-
Method Details
-
getAddresses
Description copied from interface:AddressResolver
Get the potentialAddress
es to connect to.- Specified by:
getAddresses
in interfaceAddressResolver
- Returns:
- candidate
Address
es
-