Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Closed
@TheHett

Description

@TheHett

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