Download the PHP package ufo-tech/component-transport-amqp without Composer
On this page you can find all versions of the php package ufo-tech/component-transport-amqp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package component-transport-amqp
UFO Asynchronous AMQP Transport
ufo-tech/component-transport-amqp — a library for sending messages over AMQP, built on Symfony Messenger and ufo-tech/component-transport-contracts.
Requirements
- PHP >=8.3 and the
amqpextension. - Symfony Messenger and AMQP Messenger ^7.2.
ufo-tech/component-transport-contracts^1.- An AMQP broker for sending messages.
Installation
Once the package and its dependencies are published:
Usage
You can pass a custom SerializerInterface implementation as the second argument to AMQPTransportResolver. The default is PhpSerializer; the message consumer must use compatible serialization and message classes.
Transport Configuration
- Supports the
amqpandamqpsschemes. - Uses the
queue_exchangeexchange of typedirect. - The last DSN segment defines the queue name, routing key, and binding key. Use an explicit queue name without a trailing slash or query parameters.
AsyncStampDTO::highPriorityis enabled by default: it setsdelivery_mode = 2for persistent messages, not AMQP message priority.AsyncStampDTO::extrais currently unused.
Development
Tests use mocks: RabbitMQ is not required, but the amqp extension is.
License
MIT.
All versions of component-transport-amqp with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
ext-amqp Version *
ufo-tech/component-transport-contracts Version ^1
symfony/amqp-messenger Version ^7.2||^8.0
ext-amqp Version *
ufo-tech/component-transport-contracts Version ^1
symfony/amqp-messenger Version ^7.2||^8.0
The package ufo-tech/component-transport-amqp contains the following files
Loading the files please wait ...