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, wait
Methods inherited from interface org.springframework.boot.autoconfigure.amqp.RabbitConnectionDetails
getFirstAddress
-
Constructor Details
-
PropertiesRabbitConnectionDetails
-
-
Method Details
-
getUsername
Description copied from interface:RabbitConnectionDetails
Login user to authenticate to the broker.- Specified by:
getUsername
in interfaceRabbitConnectionDetails
- Returns:
- the login user to authenticate to the broker or
null
-
getPassword
Description copied from interface:RabbitConnectionDetails
Login to authenticate against the broker.- Specified by:
getPassword
in interfaceRabbitConnectionDetails
- Returns:
- the login to authenticate against the broker or
null
-
getVirtualHost
Description copied from interface:RabbitConnectionDetails
Virtual host to use when connecting to the broker.- Specified by:
getVirtualHost
in interfaceRabbitConnectionDetails
- Returns:
- the virtual host to use when connecting to the broker or
null
-
getAddresses
Description copied from interface:RabbitConnectionDetails
List of addresses to which the client should connect. Must return at least one address.- Specified by:
getAddresses
in interfaceRabbitConnectionDetails
- Returns:
- the list of addresses to which the client should connect
-