Skip to content

[Messenger] Do not perform deep merging #32953

Closed
@lyrixx

Description

@lyrixx

Description
I followed the doc to send email async.
It works well, but I don't want to add an extra consumer in test.
So in my config_test.yml I did that:

framework:
    messenger:
        routing:
            'Symfony\Component\Mailer\Messenger\SendEmailMessage': sync # instead of rabbitmq (called async in the doc)

But this is the resolved configuration:

routing:
    Symfony\Component\Mailer\Messenger\SendEmailMessage:
        senders:
            - rabbitmq
            - sync

IMHO, We should get only sync without rabbitmq

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