File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 1
1
framework :
2
2
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
+ # amqp: ' %env(MESSENGER_ADAPTER_DSN)%'
6
6
7
7
routing :
8
- # Route your messages to the adapters
8
+ # Route your messages to the transports
9
9
# 'App\Message\YourMessage': amqp
Original file line number Diff line number Diff line change
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</>
You can’t perform that action at this time.
0 commit comments