-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring.rabbitmq.listener.stream.auto-startup property has no effect #38749
Comments
Hi @mhalbritter, |
Hello, #36451 has added a new field to the |
Move the property 'autoStartup' from BaseContainer to AmqpContainer. Fix spring-projectsgh-38749
Hi @mhalbritter, |
Superseded by #39072. Thank you! |
The property comes from
org.springframework.boot.autoconfigure.amqp.RabbitProperties.BaseContainer#isAutoStartup
, which inherits it toSimpleContainer
,DirectContainer
, andStreamContainer
.The property is read for
SimpleContainer
andDirectContainer
inorg.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
setAutoStartup
on theStreamRabbitListenerContainerFactory
.I think we should move the property from
BaseContainer
toAmqpContainer
, which is the super class ofSimpleContainer
andDirectContainer
, but notStreamContainer
.The text was updated successfully, but these errors were encountered: