Skip to content

Commit ddbcd99

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #592
2 parents 089eef6 + e07691f commit ddbcd99

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

symfony/messenger/4.3/config/packages/messenger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ framework:
1111

1212
routing:
1313
# Route your messages to the transports
14-
# 'App\Message\YourMessage': [async, sync]
14+
# 'App\Message\YourMessage': async

symfony/messenger/4.3/manifest.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
"config/": "%CONFIG_DIR%/"
44
},
55
"env": {
6-
"#1": "To use AMQP, also run ‘composer require amqp’",
6+
"#1": "Choose one of the transports below",
77
"#2": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages",
8-
"#3": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages"
8+
"#3": "MESSENGER_TRANSPORT_DSN=doctrine://default",
9+
"#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages"
910
},
1011
"aliases": ["messenger"],
1112
"conflict": {

symfony/messenger/4.3/post-install.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<bg=blue;fg=white> </>
44

55
* You're ready to use the Messenger component. You can define your own message buses
6-
or start using the default one right now by injecting the <info>messenger.bus.default</info> service
7-
or typehinting <info>Symfony\Component\Messenger\MessageBusInterface</info> in your code.
6+
or start using the default one right now by injecting the <info>message_bus</info> service
7+
or type-hinting <info>Symfony\Component\Messenger\MessageBusInterface</info> in your code.
88

99
* To send messages to a transport and handle them asynchronously:
1010

11-
1. Uncomment the <comment>MESSENGER_TRANSPORT_DSN</> env var in .env
12-
and <comment>framework.messenger.transports.async</> in config/packages/messenger.yaml;
13-
2. Route your message classes to the async transport in config/packages/messenger.yaml.
11+
1. Uncomment the <info>MESSENGER_TRANSPORT_DSN</> env var in <comment>.env</>
12+
and <info>framework.messenger.transports.async</> in <comment>config/packages/messenger.yaml</>;
13+
2. Route your message classes to the async transport in <comment>config/packages/messenger.yaml</>.
1414

15-
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc/master/messenger.html</>
15+
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc/current/messenger.html</>

0 commit comments

Comments
 (0)