mcfedr/queue-driver-pheanstalk-bundle

A bundle for managing job queues

1.2.2 2014-05-30 08:26 UTC

README

A driver for Queue Manager Bundle that uses beanstalkd

Latest Stable Version License

Install

Composer

php composer.phar require mcfedr/queue-driver-pheanstalk-bundle

AppKernel

Include the bundle in your AppKernel

public function registerBundles()
{
    $bundles = array(
        ...
        new mcfedr\Queue\Driver\PheanstalkBundle\mcfedrQueueDriverPheanstalkBundle(),

Config

With this bundle installed you can setup your queue manager config similar to this:

mcfedr_queue_manager:
    managers:
        default:
            driver: beanstalkd
            options:
                host: 127.0.0.1
                port: 11300
                default_queue: mcfedr_queue