m2broth / headers-consumer-bundle
修改当前的 MultiplyConsumer 类,来自 OldSoundRabbitMqBundle
dev-master / 1.0.x-dev
2017-04-26 20:45 UTC
Requires
- php: >=5.3.0
- php-amqplib/rabbitmq-bundle: ~1.10
- symfony/dependency-injection: ~2.3 || ~3.0
This package is not auto-updated.
Last update: 2024-09-20 19:35:12 UTC
README
修改当前的 MultiplyConsumer 类,来自 OldSoundRabbitMqBundle。添加在绑定队列和运行 rabbitmq:setup-fabric 命令时设置队列参数(针对 headers 交换类型)的功能。
安装
使用 composer 需求包及其依赖项
$ composer require m2broth/headers-consumer-bundle
只需启用 HeadersConsumerBundle
// app/AppKernel.php public function registerBundles() { $bundles = array( new m2broth\HeadersConsumerBundle\HeadersConsumerBundle(); ); }