| Package | Description |
|---|---|
| ru.kiryam.storm.rabbitmq.config |
| Modifier and Type | Method and Description |
|---|---|
static ConfigAvailableHosts |
ConfigAvailableHosts.fromString(String serialzed) |
ConfigAvailableHosts |
ConnectionConfig.getHighAvailabilityHosts() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionConfig.setHighAvailabilityHosts(ConfigAvailableHosts highAvailabilityHosts)
Set this value if you want to use a set of high availability hosts
in addition to the specified primary host you want to connect to,
and didn't use the full constructor.
|
| Constructor and Description |
|---|
ConnectionConfig(ConfigAvailableHosts hosts,
String host,
int port,
String username,
String password,
String virtualHost,
int heartBeat,
boolean ssl)
Use this constructor if you wish to specify a set of
hosts to connect to in the event that you need a high
availability RabbitMQ connection.
|
Copyright © 2013-2015. All Rights Reserved.