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.
- Since:
- 1.0.0
- Author:
- James Kleeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetMaxIdleChannels(@Nullable Integer maxIdleChannels) Sets the maximum number of idle channels that will be kept open.
-
Constructor Details
-
ChannelPoolConfiguration
public ChannelPoolConfiguration()
-
-
Method Details
-
getMaxIdleChannels
-
setMaxIdleChannels
Sets the maximum number of idle channels that will be kept open.- Parameters:
maxIdleChannels- The maximum idle channels
-