It would be nice to autoconfigure rabbit connection factory with NIO
Comment From: scottfrederick
Spring AMQP's RabbitConnectionFactoryBean
has the APIs needed to enable NIO and configure NIO parameters. Spring Boot would need to add properties to RabbitProperties
and map them to the RabbitConnectionFactoryBean
in RabbitAutoConfiguration
.
Comment From: mbhave
Related #6719 which is about providing a customizer for the RabbitConnectionFactoryBean
.
Comment From: philwebb
The customizer approach suggested in #6719 seems like the best way to offer support for this. The com.rabbitmq.client.impl.nio.NioParams
class seems too complex to be bound with properties anyway. We'll mark this one as a duplicate of #6719.