@Requires(property="rabbitmq.servers") @EachProperty(value="rabbitmq.servers") public class ClusterRabbitConnectionFactoryConfig extends RabbitConnectionFactoryConfig
Modifier and Type | Class and Description |
---|---|
static class |
ClusterRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration |
static class |
ClusterRabbitConnectionFactoryConfig.DefaultRpcConfiguration |
RabbitConnectionFactoryConfig.ChannelPoolConfiguration, RabbitConnectionFactoryConfig.RpcConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX |
DEFAULT_AMQP_OVER_SSL_PORT, DEFAULT_AMQP_PORT, DEFAULT_CHANNEL_MAX, DEFAULT_CHANNEL_RPC_TIMEOUT, DEFAULT_CONNECTION_TIMEOUT, DEFAULT_FRAME_MAX, DEFAULT_HANDSHAKE_TIMEOUT, DEFAULT_HEARTBEAT, DEFAULT_HOST, DEFAULT_NETWORK_RECOVERY_INTERVAL, DEFAULT_PASS, DEFAULT_SHUTDOWN_TIMEOUT, DEFAULT_USER, DEFAULT_VHOST, DEFAULT_WORK_POOL_TIMEOUT, USE_DEFAULT_PORT
Constructor and Description |
---|
ClusterRabbitConnectionFactoryConfig(String name)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setChannelPool(ClusterRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration channelPool)
Sets the channel pool configuration.
|
void |
setRpc(ClusterRabbitConnectionFactoryConfig.DefaultRpcConfiguration rpc)
Sets the RPC configuration.
|
getAddresses, getChannelPool, getConsumerExecutor, getName, getRpc, setAddresses, setChannelPool, setConsumerExecutor, setRpc
clone, computeDefaultTlsProcotol, createAddressResolver, createConnection, createFrameHandlerFactory, enableHostnameVerification, enableHostnameVerificationForBlockingIo, enableHostnameVerificationForNio, getChannelRpcTimeout, getClientProperties, getConnectionTimeout, getExceptionHandler, getHandshakeTimeout, getHost, getMetricsCollector, getNetworkRecoveryInterval, getNioParams, getPassword, getPort, getRecoveryDelayHandler, getRequestedChannelMax, getRequestedFrameMax, getRequestedHeartbeat, getSaslConfig, getShutdownTimeout, getSocketConfigurator, getSocketFactory, getThreadFactory, getTopologyRecoveryExecutor, getUsername, getVirtualHost, getWorkPoolTimeout, isAutomaticRecoveryEnabled, isChannelShouldCheckRpcResponseType, isSSL, isTopologyRecoveryEnabled, load, load, load, load, load, load, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, params, portOrDefault, setAutomaticRecoveryEnabled, setChannelRpcTimeout, setChannelShouldCheckRpcResponseType, setClientProperties, setConnectionRecoveryTriggeringCondition, setConnectionTimeout, setCredentialsProvider, setErrorOnWriteListener, setExceptionHandler, setHandshakeTimeout, setHeartbeatExecutor, setHost, setMetricsCollector, setNetworkRecoveryInterval, setNetworkRecoveryInterval, setNioParams, setPassword, setPort, setRecoveryDelayHandler, setRequestedChannelMax, setRequestedFrameMax, setRequestedHeartbeat, setSaslConfig, setSharedExecutor, setShutdownExecutor, setShutdownTimeout, setSocketConfigurator, setSocketFactory, setSslContextFactory, setThreadFactory, setTopologyRecoveryEnabled, setTopologyRecoveryExecutor, setTopologyRecoveryFilter, setTopologyRecoveryRetryHandler, setTrafficListener, setUri, setUri, setUsername, setVirtualHost, setWorkPoolTimeout, useBlockingIo, useNio, useSslProtocol, useSslProtocol, useSslProtocol, useSslProtocol
public static final String PREFIX
public ClusterRabbitConnectionFactoryConfig(@Parameter String name)
name
- The connection namepublic void setRpc(@Nonnull ClusterRabbitConnectionFactoryConfig.DefaultRpcConfiguration rpc)
rpc
- The RPC configurationpublic void setChannelPool(@Nonnull ClusterRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration channelPool)
channelPool
- The channel pool configuration