rabbitmq-background-jobs

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