Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

amqp-transport does auto setup for each get/publish message #39605

Copy link
Copy link
Closed
@TheHett

Description

@TheHett
Issue body actions

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.