Support the ongoing development of Laravel.io →
Laravel Queues Jobs

The setup is as follows:

API Endpoint (Server A) receives an incoming call, and adds this to a specific queue on the RabbitMQ Server (Server B).

RabbitMQ (Server B) is simply a RabbitMQ Queue Server. Nothing more, nothing less.

Laravel Installation (Server C) is our actual Laravel install, which is meant to look for jobs on specific queues and do things with them.

We have a RabbitMQ package in the Laravel install, which allows the use of the regular Laravel Queue mechanics over a RabbitMQ connection.

The issue I've come across is that we can spawn a worker for a queue - but since we're not generating the jobs passing a $job class (the job content itself is most often a JSON array), the Laravel install has no idea what to do with the job.

So my question revolves mainly around how to approach a scenario like this. I'm thinking that using the Queue-functionality in Laravel won't do what I need it to do. Can you see an approach that I'm missing? Do I really need to spawn a daemon on a non-framework script to handle this?

I want example laravel-worker-rabbitmq, please help me, thanks very much

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Hoduckhoa hoduckhoa Joined 26 May 2018

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.