hanaboso / rabbit-mq-bundle
Hanaboso - rabbit-mq-bundle
1.8.0
2024-06-19 15:49 UTC
Requires
- php: ^8.3
- ext-ctype: *
- ext-intl: *
- ext-mbstring: *
- guzzlehttp/promises: ^1.5
- hanaboso/utils: ^1.5
- php-amqplib/php-amqplib: ^3.6
- symfony/monolog-bundle: ^3.10
- symfony/yaml: ^7.1
Requires (Dev)
- hanaboso/php-check-utils: ^1.6
- dev-master
- 1.8.0
- 1.7.0
- 1.6
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.11
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- dev-dependabot/composer/symfony/process-7.1.7
- dev-dependabot/composer/symfony/http-foundation-7.1.7
This package is auto-updated.
Last update: 2024-11-06 16:03:16 UTC
README
Installation
- Download package via composer
composer require hanaboso/rabbit-mq-bundle
Logger
- default stdout logger - monolog.logger.rabbit_mq
Config
rabbit_mq: logger: 'monolog.logger.rabbit_mq' connections: default: dsn: amqp://rabbitmq:5672/ queues: my-queue: arguments: my-arg: 'my-value' bindings: - exchange: 'my-exchange' routing_key: 'routing-key' arguments: my-arg: 'my-value' my-safe-queue: durable: true arguments: x-queue-type: 'quorum' exchanges: my-exchange: type: 'direct' passive: false durable: false auto_delete: false internal: false no_wait: false arguments: my-arg: 'my-value' bindings: - exchange: 'my-exchange' routing-key: 'routing-key' arguments: my-arg: 'my-value' publishers: my-publisher: routing_key: 'routing-key' # queue name or routing key exchange: 'my-exchange' my-safe-publisher: routing_key: 'routing-key' exchange: 'my-exchange' persistent: true acknowledge: true consumers: my-consumer: queue: 'my-queue' callback: rabbit_mq.null_callback