Class RabbitConnectionFactoryConfig.ChannelPoolConfiguration

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Integer> getMaxIdleChannels()  
      void setMaxIdleChannels​(java.lang.Integer maxIdleChannels)
      Sets the maximum number of idle channels that will be kept open.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChannelPoolConfiguration

        public ChannelPoolConfiguration()
    • Method Detail

      • getMaxIdleChannels

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

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