mercredi 22 février 2017

How to process messages from Amazon SQS in Laravel

I have an Amazon SQS queue set up that whenever somebody sends an email to documents@example.com the raw data of the email will be saved as text file and put into the queue. This was set up by someone else and is not connected to my project. In Laravel I want to be able to run an artisan command that will get the next file on the queue so that I can analyze the contents of the email and store it in my database. I already have code that will analyze the email, using the PhpMimeMailParser\Parser class in Laravel 5.3. I need to be able to get the next document off the queue and run this script. How would I be able to do this?

I tried reading http://ift.tt/2eCIPRQ, but I could not understand what it was saying to do.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lop3P6
via IFTTT

Aucun commentaire:

Enregistrer un commentaire