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
263
263
}
264
264
```
265
265
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,
267
267
you should add stub for ` getName ` method:
268
268
269
269
``` php
@@ -342,7 +342,6 @@ and inform laravel to use your class by setting `RABBITMQ_WORKER` to `\App\Queue
342
342
namespace App\Queue;
343
343
344
344
use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\RabbitMQQueue as BaseRabbitMQQueue;
345
- use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\ReconnectTrait;
346
345
347
346
class RabbitMQQueue extends BaseRabbitMQQueue
348
347
{
@@ -362,8 +361,9 @@ You can override the publishing and the createChannel methods.
362
361
363
362
namespace App\Queue;
364
363
364
+ use PhpAmqpLib\Exception\AMQPChannelClosedException;
365
+ use PhpAmqpLib\Exception\AMQPConnectionClosedException;
365
366
use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\RabbitMQQueue as BaseRabbitMQQueue;
366
- use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\ReconnectTrait;
367
367
368
368
class RabbitMQQueue extends BaseRabbitMQQueue
369
369
{
You can’t perform that action at this time.
0 commit comments