@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 java.lang.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, getConfirmTimeout, getConsumerExecutor, getName, getRpc, setAddresses, setChannelPool, setConfirmTimeout, setConsumerExecutor, setRpc
clone, computeDefaultTlsProtocol, createAddressResolver, createConnection, createFrameHandlerFactory, enableHostnameVerification, enableHostnameVerificationForBlockingIo, enableHostnameVerificationForNio, ensureUnsignedShort, 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, processUriQueryParameter, setAutomaticRecoveryEnabled, setChannelRpcTimeout, setChannelShouldCheckRpcResponseType, setClientProperties, setConnectionRecoveryTriggeringCondition, setConnectionTimeout, setCredentialsProvider, setCredentialsRefreshService, 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 java.lang.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