Skip to content

Commit 0cfacbe

Browse files
committed
Add a post-install note
1 parent 5b86e34 commit 0cfacbe

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
framework:
22
messenger:
3-
adapters:
4-
# Uncomment the following line to enable an adapter named "amqp"
5-
# amqp: "%env(MESSENGER_ADAPTER_DSN)%"
3+
transports:
4+
# Uncomment the following line to enable a transport named "amqp"
5+
# default: '%env(MESSENGER_ADAPTER_DSN)%'
66

77
routing:
8-
# Route your messages to the adapters
8+
# Route your messages to the transports
99
# 'App\Message\YourMessage': amqp
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<bg=blue;fg=white> </>
2+
<bg=blue;fg=white> What's next? </>
3+
<bg=blue;fg=white> </>
4+
5+
* 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.
8+
9+
* If you need to send messages to your broker, you can benefit from the built-in
10+
amqp transport by:
11+
12+
1. Installing the <info>symfony/serializer-pack</>
13+
2. Uncommenting the <comment> MESSENGER_ADAPTER_DSN</> env var
14+
and `framework.messanger.transports.amqp` config
15+
3. Routing your messages to the amqp sender.
16+
17+
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc/master/messenger.html</>

0 commit comments

Comments
 (0)