From the course: AWS for Developers: SNS, SQS, and SWF
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Send a message to the queue - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: SNS, SQS, and SWF
Send a message to the queue
- [Instructor] In the example files included with this course, open up the file QueueResumeParser.php. This file will take information about the resume that was just uploaded by a new student and place this job in the queue so that a worker can come back later and process the work in the background. Paste the contents of this file up to the server. I'm going to copy everything that's in this file and switch back to my terminal window. Now I'm going to be using Vim, but use any Linux command line editor that you're comfortable with. So for Vim I'm going to type vim QueueResumeParser.php and hit enter. Then I'm going to type ;set paste to set paste mode. I'm going to hit I to go into insert mode, and then I'm going to right click and paste the contents of this file into Vim. I'm going to save it by hitting escape ;wq. Great, and that just put the file up on the server. We'll be doing this several more times throughout the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Plan the refactoring2m 35s
-
Messaging queues2m 50s
-
(Locked)
Set up a test server5m 33s
-
(Locked)
Create an SQS queue1m 50s
-
(Locked)
Send a message to the queue3m 26s
-
(Locked)
Receive a message from the queue4m 54s
-
(Locked)
Challenge: Send and receive a SQS message53s
-
(Locked)
Solution: Send and receive a SQS message2m 8s
-
(Locked)
-
-
-
-