The property comes from org.springframework.boot.autoconfigure.amqp.RabbitProperties.BaseContainer#isAutoStartup, which inherits it to SimpleContainer, DirectContainer, and StreamContainer.
The property is read for SimpleContainer and DirectContainer in org.springframework.boot.autoconfigure.amqp.AbstractRabbitListenerContainerFactoryConfigurer, but nothing reads it on the StreamContainer, therefore the property has no effect for the Stream listener.
There's also no setAutoStartup on the StreamRabbitListenerContainerFactory.
I think we should move the property from BaseContainer to AmqpContainer, which is the super class of SimpleContainer and DirectContainer, but not StreamContainer.
The property comes from
org.springframework.boot.autoconfigure.amqp.RabbitProperties.BaseContainer#isAutoStartup, which inherits it toSimpleContainer,DirectContainer, andStreamContainer.The property is read for
SimpleContainerandDirectContainerinorg.springframework.boot.autoconfigure.amqp.AbstractRabbitListenerContainerFactoryConfigurer, but nothing reads it on theStreamContainer, therefore the property has no effect for the Stream listener.There's also no
setAutoStartupon theStreamRabbitListenerContainerFactory.I think we should move the property from
BaseContainertoAmqpContainer, which is the super class ofSimpleContainerandDirectContainer, but notStreamContainer.