File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ class RabbitMQJob extends BaseJob
263263}
264264```
265265
266- If you want to handle raw message, not in JSON format or without 'job' key in JSON,
266+ If you want to handle raw message, not in JSON format or without 'job' key in JSON,
267267you should add stub for ` getName ` method:
268268
269269``` php
@@ -342,7 +342,6 @@ and inform laravel to use your class by setting `RABBITMQ_WORKER` to `\App\Queue
342342namespace App\Queue;
343343
344344use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\RabbitMQQueue as BaseRabbitMQQueue;
345- use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\ReconnectTrait;
346345
347346class RabbitMQQueue extends BaseRabbitMQQueue
348347{
@@ -362,8 +361,9 @@ You can override the publishing and the createChannel methods.
362361
363362namespace App\Queue;
364363
364+ use PhpAmqpLib\Exception\AMQPChannelClosedException;
365+ use PhpAmqpLib\Exception\AMQPConnectionClosedException;
365366use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\RabbitMQQueue as BaseRabbitMQQueue;
366- use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\ReconnectTrait;
367367
368368class RabbitMQQueue extends BaseRabbitMQQueue
369369{
You can’t perform that action at this time.
0 commit comments