Messenger: use Transport instead of Adapter in ENV name

This commit is contained in:
thePanz
2018-06-01 17:51:02 +02:00
parent 34fc4212d8
commit 4172c48112
3 changed files with 3 additions and 3 deletions
@@ -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
+1 -1
View File
@@ -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"]
}
+1 -1
View File
@@ -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.