Hi,
I'm trying to make integration with RabbitMQ. For this I'm using libraries: "videlalvaro/php-amqplib": "2.2", "fintech-fab/laravel-queue-rabbitmq": "4.2.*@dev"
According to laravel-queue-rabbitmq docs, I should be able to make this combination work.
I'm registering the libraries in service provider class: $this->app->register('PhpAmqpLib\Connection\AMQPConnection'); $this->app->register('PhpAmqpLib\Message\AMQPMessage'); $this->app->register('FintechFab\LaravelQueueRabbitMQ\LaravelQueueRabbitMQServiceProvider');
I'm getting error in here: Missing argument 2 for PhpAmqpLib\Connection\AMQPStreamConnection::__construct(), called in \vendor\laravel\framework\src\Illuminate\Foundation\Application.php on line 364 and defined", "file": "\workbench\rentm\apiv2\vendor\videlalvaro\php-amqplib\PhpAmqpLib\Connection\AMQPStreamConnection.php", "line": 11
(or same code in laravel bin: http://laravel.io/bin/l5x8a )
I've tried different ways (adding aliases, but no help yet).
Has anybody gotten this combination to work or how do you usually migrate with RabbitMQ?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community