public class RabbitMQConnectionFactory extends Object implements org.atmosphere.cpr.AtmosphereConfig.ShutdownHook
| 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_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() |
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 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.ShutdownHookCopyright © 2014. All Rights Reserved.