mirror of
https://github.com/symfony/recipes.git
synced 2026-09-19 11:06:33 +03:00
Add the AMQP pack
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"aliases": ["amqp"]
|
||||
}
|
||||
@@ -5,5 +5,5 @@
|
||||
"env": {
|
||||
"#MESSENGER_ADAPTER_DSN": "amqp://guest:guest@localhost:5672/%2f/messages"
|
||||
},
|
||||
"aliases": ["messenger", "amqp"]
|
||||
"aliases": ["messenger"]
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* If you need to send messages to your broker, you can benefit from the built-in
|
||||
amqp transport by:
|
||||
|
||||
1. Installing the <info>symfony/serializer-pack</>
|
||||
1. Install the AMQP pack by running <info>composer require amqp</>
|
||||
2. Uncommenting the <comment> MESSENGER_ADAPTER_DSN</> env var
|
||||
and `framework.messanger.transports.amqp` config
|
||||
3. Routing your messages to the amqp sender.
|
||||
|
||||
Reference in New Issue
Block a user