public class RabbitMQConnectionFactory
extends java.lang.Object
implements org.atmosphere.cpr.AtmosphereConfig.ShutdownHook, com.rabbitmq.client.ShutdownListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PARAM_EXCHANGE_TYPE |
static java.lang.String |
PARAM_HOST |
static java.lang.String |
PARAM_PASS |
static java.lang.String |
PARAM_PORT |
static java.lang.String |
PARAM_USE_SSL |
static java.lang.String |
PARAM_USER |
static java.lang.String |
PARAM_VHOST |
| Constructor and Description |
|---|
RabbitMQConnectionFactory(org.atmosphere.cpr.AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
com.rabbitmq.client.Channel |
channel() |
java.lang.String |
exchangeName() |
static RabbitMQConnectionFactory |
getFactory(org.atmosphere.cpr.AtmosphereConfig config) |
void |
shutdown() |
void |
shutdownCompleted(com.rabbitmq.client.ShutdownSignalException cause) |
public static final java.lang.String PARAM_HOST
public static final java.lang.String PARAM_USER
public static final java.lang.String PARAM_PASS
public static final java.lang.String PARAM_EXCHANGE_TYPE
public static final java.lang.String PARAM_VHOST
public static final java.lang.String PARAM_PORT
public static final java.lang.String PARAM_USE_SSL
public RabbitMQConnectionFactory(org.atmosphere.cpr.AtmosphereConfig config)
public static final RabbitMQConnectionFactory getFactory(org.atmosphere.cpr.AtmosphereConfig config)
public java.lang.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 © 2020. All Rights Reserved.