Package io.micronaut.rabbitmq.connect
Class RabbitConnectionFactoryConfig.ChannelPoolConfiguration
java.lang.Object
io.micronaut.rabbitmq.connect.RabbitConnectionFactoryConfig.ChannelPoolConfiguration
- Direct Known Subclasses:
ClusterRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration
,SingleRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration
- Enclosing class:
- RabbitConnectionFactoryConfig
Configuration for the channel pool.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMaxIdleChannels
(@Nullable Integer maxIdleChannels) Sets the maximum number of idle channels that will be kept open.
-
Constructor Details
-
ChannelPoolConfiguration
public ChannelPoolConfiguration()
-
-
Method Details
-
getMaxIdleChannels
- Returns:
- The number of idle channels to keep open.
-
setMaxIdleChannels
Sets the maximum number of idle channels that will be kept open.- Parameters:
maxIdleChannels
- The maximum idle channels
-