b2pweb/bdf-queue-messenger-bundle

Symfony bdf-queue messenger bundle

dev-master / 1.0.x-dev 2021-05-07 14:30 UTC

This package is auto-updated.

Last update: 2021-11-07 15:27:34 UTC


README

Build Status Scrutinizer Code Quality Packagist Version Total Downloads

Installation

1 Download the Bundle

Download the latest stable version of this bundle with composer:

    $ composer require b2pweb/bdf-queue-messenger-bundle

2 Enable the Bundle

Adding the following line in the config/bundles.php file of your project::

<?php
// config/bundles.php

return [
    // ...
    Bdf\QueueMessengerBundle\BdfQueueMessengerBundle::class => ['all' => true],
    // ...
];

3 Add configuration

Edit the config file to ./config/packages/messenger.yaml

framework:
    messenger:
        transports:
             async: 'bdfqueue://my_bus?consumer_timeout=1'