m2broth/headers-consumer-bundle

Modify current MultiplyConsumer class from the OldSoundRabbitMqBundle

dev-master / 1.0.x-dev 2017-04-26 20:45 UTC

This package is not auto-updated.

Last update: 2024-05-03 17:51:23 UTC


README

Modify current MultiplyConsumer class from the OldSoundRabbitMqBundle. Add ability to set queues arguments (for headers exchange type) when binding queues and running rabbitmq:setup-fabric command.

Installation

Require the bundle and its dependencies with composer:

$ composer require m2broth/headers-consumer-bundle

Just enable the HeadersConsumerBundle:

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        new m2broth\HeadersConsumerBundle\HeadersConsumerBundle();
    );
}