mardi 9 février 2016

Laravel using two subscribed queues

I currently have a working Queue in place with Iron MQ (version 4.*) and Laravel 5.1.

I've noticed that with Iron you can set up an Error Queue to an existing Queue. However there is very little knowledge out there that specifies how one would implement this queue.

Does Laravel allow me to have 2 queues subscribed on my server? I.e. can I execute the following on my server:

php artisan queue:subscribe my-first-queue http://ift.tt/1KDn5mo

AND

php artisan queue:subscribe my-error-queue http://ift.tt/1PA6Raz

If so, would:

Queue::marshall();

pick up on both queues and run any necessary tasks it needs to?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire