Skip to content
Advertisement

Tag: amazon-sqs

SQS SendMessage & $_POST Issue

If I put $author=’Steven King’; it works without issue, however it does not work with a post variable. To be “clear” if I hard code the the author in the JSON it will in fact post the message to the SQS queue. This is the expected result, however if I pass the string from the Post Variable e.g. $author=$_POST[‘author], the

AWS SQS only receiving 1 message from two different dispatch

Currently, I’m using the AWS PHP SDK to communicate with AWS SQS. I’m using a FIFO queue. We have different “models” that need to communicate with SQS, therefore they all have different message group ids in order to make SQS more efficient in processing the data. I’ve made a method that dispatches calls to AWS SQS called DispatchSQSJob($arrayData, $messageGroupId =

Advertisement