File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/FintechFab/LaravelQueueRabbitMQ/Queue/Jobs Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ Add these lines to your `app/config/queue.php` file to `connections` array:
4343
4444And add these properties to ` .env ` with proper values:
4545
46+ QUEUE_DRIVER=rabbitmq
47+
4648 RABBITMQ_HOST=127.0.0.1
4749 RABBITMQ_PORT=5672
4850 RABBITMQ_VHOST=/
Original file line number Diff line number Diff line change 11<?php namespace FintechFab \LaravelQueueRabbitMQ \Queue \Jobs ;
22
33use Illuminate \Container \Container ;
4+ use Illuminate \Contracts \Queue \Job as JobContract ;
45use Illuminate \Queue \Jobs \Job ;
56use PhpAmqpLib \Channel \AMQPChannel ;
67use PhpAmqpLib \Message \AMQPMessage ;
7- use Queue ;
88
9- class RabbitMQJob extends Job
9+ class RabbitMQJob extends Job implements JobContract
1010{
1111
1212 protected $ channel ;
You can’t perform that action at this time.
0 commit comments