@Requires(missingProperty="rabbitmq.servers") @ConfigurationProperties(value="rabbitmq") @Named(value="default") public class SingleRabbitConnectionFactoryConfig extends RabbitConnectionFactoryConfig
Modifier and Type | Class and Description |
---|---|
static class |
SingleRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration |
static class |
SingleRabbitConnectionFactoryConfig.DefaultRpcConfiguration |
RabbitConnectionFactoryConfig.ChannelPoolConfiguration, RabbitConnectionFactoryConfig.RpcConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME |
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 |
---|
SingleRabbitConnectionFactoryConfig()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setChannelPool(SingleRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration channelPool)
Sets the channel pool configuration.
|
void |
setRpc(SingleRabbitConnectionFactoryConfig.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 DEFAULT_NAME
public SingleRabbitConnectionFactoryConfig()
public void setRpc(@Nonnull SingleRabbitConnectionFactoryConfig.DefaultRpcConfiguration rpc)
rpc
- The RPC configurationpublic void setChannelPool(@Nonnull SingleRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration channelPool)
channelPool
- The channel pool configuration