Interface RabbitConnectionDetails
- All Superinterfaces:
ConnectionDetails
Details required to establish a connection to a RabbitMQ service.
- Since:
- 4.2.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA RabbitMQ address. -
Method Summary
Modifier and TypeMethodDescriptionList of addresses to which the client should connect.default RabbitConnectionDetails.AddressReturns the first address.Login to authenticate against the broker.SSL bundle to use.Login user to authenticate to the broker.Virtual host to use when connecting to the broker.
-
Method Details
-
getUsername
-
getPassword
-
getVirtualHost
-
getAddresses
List<RabbitConnectionDetails.Address> getAddresses()List of addresses to which the client should connect. Must return at least one address.- Returns:
- the list of addresses to which the client should connect
-
getFirstAddress
Returns the first address.- Returns:
- the first address
- Throws:
IllegalStateException- if the address list is empty
-
getSslBundle
-