Webador / SlmQueueBeanstalkd

Beanstalkd adapter for SlmQueue module
Other
10 stars 26 forks source link

confusion on README.md example #44

Closed EMCP closed 9 years ago

EMCP commented 9 years ago

I think you meant to put down 'email' => 'SlmQueueBeanstalkd\Factory\BeanstalkdQueueFactory' or perhaps I'm not seeing where the queue name went.

A concrete class that implements this interface is included: SlmQueueBeanstalkd\Queue\BeanstalkdQueue and a factory is available to create the queue. Therefore, if you want to have a queue called "email", just add the following line in your module.config.php file:

return array(
    'slm_queue' => array(
        'queue_manager' => array(
            'factories' => array(
                'newsletter' => 'SlmQueueBeanstalkd\Factory\BeanstalkdQueueFactory'
            )
        )
    )
);
juriansluiman commented 9 years ago

Thanks for the info, I updated the README.md with the correct queue name.