eclabsit / rabbitmq-bacground-jobs
Background Jobs using RabbitMQ
1.1.4
2018-06-19 17:41 UTC
Requires
- php: >=5.3.3
- thomasvargiu/rabbitmq-module: 1.2.1
Requires (Dev)
- phpunit/phpunit: ~3.7
This package is not auto-updated.
Last update: 2025-02-01 20:37:11 UTC
README
The RabbitMQModule Background Jobs implementation
Installation
Composer
composer.phar require eclabsit/rabbitmq-background-jobs
Usage
Configuration
Use RabbitMQModule Configuration to set up Connection, Consumers and Producers
Publishing Jobs
$this->bgJobsProducer()->publish(serialize(new MailJob()));
MailJob MUST implements RabbitMqBackgroundJobs\Job\JobInterface