public final class EventBinder.BinderConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
BinderConfiguration() |
| 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 |
setHost(java.lang.String hostName)
Deprecated.
Use
addHost(String) instead |
EventBinder.BinderConfiguration |
setPassword(java.lang.String password)
Set the password.
|
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) insteadpublic EventBinder.BinderConfiguration addHost(java.lang.String hostName)
Adds a broker host name used when establishing a connection.
hostName - a broker host name with optional portpublic EventBinder.BinderConfiguration addHost(com.rabbitmq.client.Address hostAddress)
Adds a broker host address used when establishing a connection.
hostAddress - the broker host addresspublic EventBinder.BinderConfiguration setUsername(java.lang.String username)
Set the user name.
username - the AMQP user name to use when connecting to the brokerpublic EventBinder.BinderConfiguration setPassword(java.lang.String password)
Set the password.
password - the password to use when connecting to the brokerpublic EventBinder.BinderConfiguration setVirtualHost(java.lang.String virtualHost)
Set the virtual host.
virtualHost - the virtual host to use when connecting to the broker