Skip to content

RabbitMQ AMQP 1.0 should not set an empty exchange by default - #52305

Merged
snicoll merged 2 commits into
spring-projects:mainfrom
dalerazimov:fix/amqp-rabbit-empty-exchange
Oct 23, 2026
Merged

snicoll merged 2 commits into
spring-projects:mainfrom
dalerazimov:fix/amqp-rabbit-empty-exchange

Conversation

@dalerazimov

Copy link
Copy Markdown
Contributor

RabbitMQ AMQP 1.0 auto configuration sets the empty exchange on RabbitAmqpTemplate by default. unlike the AMQP 0.9.1 template, the AMQP 1.0 template does not support the default exchange

this also prevents setQueue() from working when configured through a RabbitAmqpTemplateCustomizer

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue that has not yet been triaged. Contributions will not be accepted. label Oct 20, 2026
@snicoll snicoll self-assigned this Oct 21, 2026
@snicoll snicoll added type: bug A general bug and removed status: waiting-for-triage An issue that has not yet been triaged. Contributions will not be accepted. labels Oct 23, 2026
@snicoll snicoll added this to the 4.2.0-RC2 milestone Oct 23, 2026
@snicoll snicoll changed the title Avoid configuring an empty exchange for RabbitMQ AMQP 1.0 RabbitMQ AMQP 1.0 should not set an empty exchange by default Oct 23, 2026
@snicoll
snicoll force-pushed the fix/amqp-rabbit-empty-exchange branch from c414eea to 09397cc Compare October 23, 2026 13:41
@snicoll
snicoll merged commit 273c850 into spring-projects:main Oct 23, 2026
1 check failed
@dalerazimov
dalerazimov deleted the fix/amqp-rabbit-empty-exchange branch October 24, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants