Class RabbitConnectionFactoryConfig.ChannelPoolConfiguration

java.lang.Object
io.micronaut.rabbitmq.connect.RabbitConnectionFactoryConfig.ChannelPoolConfiguration
Direct Known Subclasses:
ClusterRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration, SingleRabbitConnectionFactoryConfig.DefaultChannelPoolConfiguration
Enclosing class:
RabbitConnectionFactoryConfig

public static class RabbitConnectionFactoryConfig.ChannelPoolConfiguration extends Object
Configuration for the channel pool.
  • Constructor Details

    • ChannelPoolConfiguration

      public ChannelPoolConfiguration()
  • Method Details

    • getMaxIdleChannels

      public Optional<Integer> getMaxIdleChannels()
      Returns:
      The number of idle channels to keep open.
    • setMaxIdleChannels

      public void setMaxIdleChannels(@Nullable @Nullable Integer maxIdleChannels)
      Sets the maximum number of idle channels that will be kept open.
      Parameters:
      maxIdleChannels - The maximum idle channels