public class RabbitMQUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RABBITMQ_ADDR_PREFIX |
static String |
RABBITMQ_DELIVERY_MODE |
static String |
RABBITMQ_PASSWORD |
static String |
RABBITMQ_USERNAME |
| Constructor and Description |
|---|
RabbitMQUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.rabbitmq.client.Address[] |
getAddresses(Configuration configuration) |
static com.rabbitmq.client.Channel |
openChannel(com.rabbitmq.client.Connection connection) |
static com.rabbitmq.client.Connection |
openConnection(com.rabbitmq.client.Address[] addresses,
Configuration configuration) |
static com.rabbitmq.client.Connection |
openConnection(Configuration configuration) |
public static final String RABBITMQ_ADDR_PREFIX
public static final String RABBITMQ_DELIVERY_MODE
public static final String RABBITMQ_USERNAME
public static final String RABBITMQ_PASSWORD
public static com.rabbitmq.client.Connection openConnection(com.rabbitmq.client.Address[] addresses,
Configuration configuration)
throws IOException
IOExceptionpublic static com.rabbitmq.client.Connection openConnection(Configuration configuration) throws IOException
IOExceptionpublic static com.rabbitmq.client.Channel openChannel(com.rabbitmq.client.Connection connection)
public static com.rabbitmq.client.Address[] getAddresses(Configuration configuration)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.