Last active
November 9, 2018 13:13
-
-
Save lahaxearnaud/a72d12feae30abd0ddb75bc0d91e6450 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
messenger.transport.default_serialization_context: {groups: [messenger]} | |
framework: | |
messenger: | |
transports: | |
# les Data Source Name pour mes différents transports | |
amqp_mailer: '%env(MESSENGER_TRANSPORT_DSN_MAILER)%' | |
amqp_default: '%env(MESSENGER_TRANSPORT_DSN)%' | |
routing: | |
# En fonction du type de message on peut router le message | |
# pour ma part j'utilise des interface | |
'App\Message\Interfaces\Mailer': amqp_mailer | |
# Tout ce qui n'a pas matché avance passera ici | |
'*': amqp_default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment