Skip to content

[Messenger] fix AMQP delay queue to be per exchange #32052

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

Merged
merged 1 commit into from
Jun 17, 2019

Conversation

Tobion
Copy link
Contributor

@Tobion Tobion commented Jun 14, 2019

Q A
Branch? 4.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #32050
License MIT
Doc PR

this makes the delay/retry work when having several exchanges or renaming your exchange.

also the delay setup did not declare the target exchange. so if you only do delayed messages for a connection, auto-setup forgot to actually create the target exchange.

@Tobion Tobion force-pushed the fix-amqp-delay-per-exchange branch 5 times, most recently from 70dcc96 to f4efec0 Compare June 15, 2019 01:39
@nicolas-grekas nicolas-grekas added this to the 4.3 milestone Jun 15, 2019
Copy link
Member

@weaverryan weaverryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obviously, this stuff is complex. Assuming you've tested in IRL @Tobion, it's a +1 for me - the code & bug make perfect sense.

@fabpot fabpot force-pushed the fix-amqp-delay-per-exchange branch from f4efec0 to 5bc3364 Compare June 17, 2019 16:44
@fabpot
Copy link
Member

fabpot commented Jun 17, 2019

Thank you @Tobion.

@fabpot fabpot merged commit 5bc3364 into symfony:4.3 Jun 17, 2019
fabpot added a commit that referenced this pull request Jun 17, 2019
This PR was squashed before being merged into the 4.3 branch (closes #32052).

Discussion
----------

[Messenger] fix AMQP delay queue to be per exchange

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #32050
| License       | MIT
| Doc PR        |

this makes the delay/retry work when having several exchanges or renaming your exchange.

also the delay setup did not declare the target exchange. so if you only do delayed messages for a connection, auto-setup forgot to actually create the target exchange.

Commits
-------

5bc3364 [Messenger] fix AMQP delay queue to be per exchange
@Tobion Tobion deleted the fix-amqp-delay-per-exchange branch June 17, 2019 21:36
@fabpot fabpot mentioned this pull request Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants