Package com.rabbitmq.client
Class ListAddressResolver
- java.lang.Object
-
- com.rabbitmq.client.ListAddressResolver
-
- All Implemented Interfaces:
AddressResolver
public class ListAddressResolver extends Object implements AddressResolver
Simple implementation ofAddressResolver
that returns a fixed list.
-
-
Constructor Summary
Constructors Constructor Description ListAddressResolver(List<Address> addresses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Address>
getAddresses()
Get the potentialAddress
es to connect to.
-
-
-
Method Detail
-
getAddresses
public List<Address> getAddresses()
Description copied from interface:AddressResolver
Get the potentialAddress
es to connect to.- Specified by:
getAddresses
in interfaceAddressResolver
- Returns:
- candidate
Address
es
-
-