Class PropertiesRabbitConnectionDetails
java.lang.Object
org.springframework.boot.autoconfigure.amqp.PropertiesRabbitConnectionDetails
- All Implemented Interfaces:
RabbitConnectionDetails,ConnectionDetails
Adapts
RabbitProperties to RabbitConnectionDetails.- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.boot.autoconfigure.amqp.RabbitConnectionDetails
RabbitConnectionDetails.Address -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList of addresses to which the client should connect.Login to authenticate against the broker.Login user to authenticate to the broker.Virtual host to use when connecting to the broker.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.autoconfigure.amqp.RabbitConnectionDetails
getFirstAddress
-
Constructor Details
-
PropertiesRabbitConnectionDetails
-
-
Method Details
-
getUsername
Description copied from interface:RabbitConnectionDetailsLogin user to authenticate to the broker.- Specified by:
getUsernamein interfaceRabbitConnectionDetails- Returns:
- the login user to authenticate to the broker or
null
-
getPassword
Description copied from interface:RabbitConnectionDetailsLogin to authenticate against the broker.- Specified by:
getPasswordin interfaceRabbitConnectionDetails- Returns:
- the login to authenticate against the broker or
null
-
getVirtualHost
Description copied from interface:RabbitConnectionDetailsVirtual host to use when connecting to the broker.- Specified by:
getVirtualHostin interfaceRabbitConnectionDetails- Returns:
- the virtual host to use when connecting to the broker or
null
-
getAddresses
Description copied from interface:RabbitConnectionDetailsList of addresses to which the client should connect. Must return at least one address.- Specified by:
getAddressesin interfaceRabbitConnectionDetails- Returns:
- the list of addresses to which the client should connect
-