public class RabbitMQConnectionFactory extends Object implements org.atmosphere.cpr.AtmosphereConfig.ShutdownHook, com.rabbitmq.client.ShutdownListener
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_EXCHANGE_TYPE |
static String |
PARAM_HOST |
static String |
PARAM_PASS |
static String |
PARAM_PORT |
static String |
PARAM_USE_SSL |
static String |
PARAM_USER |
static String |
PARAM_VHOST |
| Constructor and Description |
|---|
RabbitMQConnectionFactory(org.atmosphere.cpr.AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
com.rabbitmq.client.Channel |
channel() |
String |
exchangeName() |
static RabbitMQConnectionFactory |
getFactory(org.atmosphere.cpr.AtmosphereConfig config) |
void |
shutdown() |
void |
shutdownCompleted(com.rabbitmq.client.ShutdownSignalException cause) |
public static final String PARAM_HOST
public static final String PARAM_USER
public static final String PARAM_PASS
public static final String PARAM_EXCHANGE_TYPE
public static final String PARAM_VHOST
public static final String PARAM_PORT
public static final String PARAM_USE_SSL
public RabbitMQConnectionFactory(org.atmosphere.cpr.AtmosphereConfig config)
public static final RabbitMQConnectionFactory getFactory(org.atmosphere.cpr.AtmosphereConfig config)
public String exchangeName()
public com.rabbitmq.client.Channel channel()
public void shutdown()
shutdown in interface org.atmosphere.cpr.AtmosphereConfig.ShutdownHookpublic void shutdownCompleted(com.rabbitmq.client.ShutdownSignalException cause)
shutdownCompleted in interface com.rabbitmq.client.ShutdownListenerCopyright © 2016. All Rights Reserved.