You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The transport Symfony\Component\Messenger\Bridge\Amqp\Transport\Connection trying to create and declare queues and exchanges for each publish/get message. I suspect it's not necessary, it is enough to do it only once.
This PR was merged into the 5.3-dev branch.
Discussion
----------
[Messenger] Setup queues once in AMQP
| Q | A
| ------------- | ---
| Branch? | 5.x
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | Fix#39605, Fix#38092, Fix#32172
| License | MIT
| Doc PR | -
To ease the setup, this PR also merge setup of exchange AND delayExchange.
/cc @Nyholm
Commits
-------
c2e84c6 Setup queues once in AMQP
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected: 5.2
Description
The transport
Symfony\Component\Messenger\Bridge\Amqp\Transport\Connection
trying to create and declare queues and exchanges for each publish/get message. I suspect it's not necessary, it is enough to do it only once.https://github.com/symfony/amqp-messenger/blob/a7f681b022f9cfb88febc12face05b12a47232c1/Transport/Connection.php#L422
Possible Solution
I think it's need to add a flag that the setup already done and do not call it again.
Sorry for my english.
The text was updated successfully, but these errors were encountered: