@@zekotch check at 3:56 on how to consume messages via a job, which in turn can invoke controller method, ref: github.com/vyuldashev/laravel-queue-rabbitmq
hello i tried to implement this to my own laravel project but got this error that i can't solve: InvalidArgumentException: No connector for [rabbitmq]. i did configure the queue.php and .env with my rabbitmq setting, so, both my rabbitmq and laravel work fine independently but can't connect to each other, might you have any solution? Thank you in advance
@@NevyanNeykov i actually solved it, but right now there's a new error with how i used the job function, i wrote the code same as your video but i got the error: Call to undefined method App\Jobs\RMQorder::dispatch() the dispatch doesn't work
@@NevyanNeykov i fixed it, i needed only to replace "localhost" with "127.0.0.1" for the address to be assigned but there's new error 111 connection refused right now
Don't forget to subscribe for new content: ruclips.net/user/editplus
Спасибо, видео зашло.
Thank you very much
You are welcome
Thank you a lot !
You are welcome!
hi,im facing The connection timed out after 3 sec while awaiting incoming data issue how to solve this
Perhaps check with external mq explorer to send and receive messages.
what's different with laravel default database connected queue ?
there are different queue backends, local database variants, on cloud etc,: laravel.com/docs/master/queues
Hi, thank your very much, please how to display received message to view in realtime without refreshing page
hi, you can simply use JavaScript fetch() to send requests to the server at a regular time interval.
@@NevyanNeykov yes but you only show how to dispatch in controller but not how to consume or listen in controller
@@zekotch check at 3:56 on how to consume messages via a job, which in turn can invoke controller method, ref: github.com/vyuldashev/laravel-queue-rabbitmq
it is really great tutorial sir. is it possible to implement rabbitMq in laravel 5.2
thank you, I would suggest to better upgrade laravel to its current version, than try code patching.
hello i tried to implement this to my own laravel project but got this error that i can't solve: InvalidArgumentException:
No connector for [rabbitmq].
i did configure the queue.php and .env with my rabbitmq setting, so, both my rabbitmq and laravel work fine independently but can't connect to each other, might you have any solution?
Thank you in advance
Hello, try adding the provider to config/app.php .
@@NevyanNeykov i actually solved it, but right now there's a new error with how i used the job function, i wrote the code same as your video but i got the error: Call to undefined method App\Jobs\RMQorder::dispatch()
the dispatch doesn't work
bruh also this one now: Error Connecting to server(99): Cannot assign requested address
x_x
perhaps: stackoverflow.com/questions/64998793/getting-a-call-to-undefined-method-in-laravel-when-doing-events
@@NevyanNeykov i fixed it, i needed only to replace "localhost" with "127.0.0.1" for the address to be assigned but there's new error 111 connection refused right now
How to add delayed message to the queue?
perhaps this would be of help: www.gosink.in/rabbitmq-how-to-send-delayed-scheduled-messages-for-webhooks-with-exponential-backoff/