I am very new to the laravel-queue concept ,our project has multiple databases based on each customer.i am implementing workflows by using queue-jobs ,all databases list we are maintaining in another database called secret_databases
which will contain databaselist,jobs and failed_jobs tables.
databaselist table contains all databases which ever hold by customer or client,from this table i am connecting to the all databases that is working fine but while storing data in jobs table i modified queue column value from default to customvalue like(DatabaseName ~ modulename) it is also working fine.
Now when i run php artisan queue:work it's not processing any jobs but data is there in table because it's looking for default queue After researching i got to know i have to run following command
php artisan queue:work --queue_name
But in my case i could not able to run like this because total we have 400 databases and multiple module names,and in future many more databases can also be added so each time i could not able to run manually specifying queue_names .
i was looking for a solution how to run multiple jobs in all queue-names dynamically