Download the PHP package adtechpotok/messenger-adapter without Composer
On this page you can find all versions of the php package adtechpotok/messenger-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adtechpotok/messenger-adapter
More information about adtechpotok/messenger-adapter
Files in adtechpotok/messenger-adapter
Package messenger-adapter
Short Description Enqueue adapter for Symfony Messenger component
License MIT
Homepage http://symfony.com
Informations about the package messenger-adapter
Enqueue's transport for Symfony Messenger component
This Symfony Messenger transport allows you to use Enqueue to send and receive your messages from all the supported brokers.
Usage
-
Install the transport
-
Configure the Enqueue bundle as you would normaly do (see Enqueue's Bundle documentation). If you are using the recipes, you should just have to configure the environment variables to configure the
default
Enqueue transport: -
Configure Messenger's transport (that we will name
amqp
) to use Enqueue'sdefault
transport: -
Route the messages that have to go through the message queue:
- Consume!
Advanced usage
Configure the queue(s) and exchange(s)
In the transport DSN, you can add extra configuration. Here is the reference DSN (note that the values are just for the example):
Send a message on a specific topic
You can send a message on a specific topic using TransportConfiguration
envelope item with your message:
All versions of messenger-adapter with dependencies
symfony/messenger Version 4.1.3
symfony/options-resolver Version ^3.4|^4.1
enqueue/amqp-tools Version ^0.8.23
doctrine/orm Version *