Skip to content

spring.rabbitmq.listener.stream.auto-startup property has no effect #38749

@mhalbritter

Description

@mhalbritter

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.

Metadata

Metadata

Labels

status: supersededAn issue that has been superseded by another

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions