public static final class EventBinder.BinderConfiguration
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
EventBinder.BinderConfiguration |
addHost(com.rabbitmq.client.Address hostAddress)
Adds a broker host address used when establishing a connection.
|
EventBinder.BinderConfiguration |
addHost(java.lang.String hostName)
Adds a broker host name used when establishing a connection.
|
EventBinder.BinderConfiguration |
setConnectionUri(java.net.URI uri)
Set the connection parameters using the given
uri. |
EventBinder.BinderConfiguration |
setHost(java.lang.String hostName)
Deprecated.
Use
addHost(String) instead |
EventBinder.BinderConfiguration |
setPassword(java.lang.String password)
Set the password.
|
EventBinder.BinderConfiguration |
setSecure(boolean secure)
Set the connection security setting.
|
EventBinder.BinderConfiguration |
setUsername(java.lang.String username)
Set the user name.
|
EventBinder.BinderConfiguration |
setVirtualHost(java.lang.String virtualHost)
Set the virtual host.
|
@Deprecated public EventBinder.BinderConfiguration setHost(java.lang.String hostName)
addHost(String) insteadhostName to the set of hostnames, taken when connecting.hostName - the RabbitMQ host name to usepublic EventBinder.BinderConfiguration addHost(java.lang.String hostName)
hostName - a broker host name with optional portpublic EventBinder.BinderConfiguration addHost(com.rabbitmq.client.Address hostAddress)
hostAddress - the broker host addresspublic EventBinder.BinderConfiguration setUsername(java.lang.String username)
username - the AMQP user name to use when connecting to the brokerpublic EventBinder.BinderConfiguration setPassword(java.lang.String password)
password - the password to use when connecting to the brokerpublic EventBinder.BinderConfiguration setVirtualHost(java.lang.String virtualHost)
virtualHost - the virtual host to use when connecting to the brokerpublic EventBinder.BinderConfiguration setSecure(boolean secure)
secure - true to use secured connection, false otherwisepublic EventBinder.BinderConfiguration setConnectionUri(java.net.URI uri)
uri. This will reset all other
settings.uri - the connection URI