mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Merge pull request #415
This commit is contained in:
@@ -2,7 +2,7 @@ framework:
|
||||
messenger:
|
||||
transports:
|
||||
# Uncomment the following line to enable a transport named "amqp"
|
||||
# amqp: '%env(MESSENGER_ADAPTER_DSN)%'
|
||||
# amqp: '%env(MESSENGER_TRANSPORT_DSN)%'
|
||||
|
||||
routing:
|
||||
# Route your messages to the transports
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "MESSENGER_ADAPTER_DSN=amqp://guest:guest@localhost:5672/%2f/messages"
|
||||
"#1": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages"
|
||||
},
|
||||
"aliases": ["messenger"]
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
AMQP transport by:
|
||||
|
||||
1. Installing the AMQP pack by running <info>composer require amqp</>;
|
||||
2. Uncommenting the <comment>MESSENGER_ADAPTER_DSN</> env var
|
||||
2. Uncommenting the <comment>MESSENGER_TRANSPORT_DSN</> env var
|
||||
and <comment>framework.messanger.transports.amqp</> config;
|
||||
3. Routing your messages to the amqp sender.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user