If the number of messages in a queue is extremely small, a message may not be returned from the receiveMessage response. See http://docs.aws.amazon.com/aws-sdk-php/v3/api/api-sqs-2012-11-05.html#re....

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

edwardchiapet created an issue. See original summary.

edwardchiapet’s picture

This patch adds in a check to see if the 'Messages' key exists. If not, return false.

edwardchiapet’s picture

Status: Active » Needs review
edwardchiapet’s picture

Assigned: Unassigned » edwardchiapet
edwardchiapet’s picture

Assigned: edwardchiapet » Unassigned
Bunty Badgujar’s picture

Assigned: Unassigned » Bunty Badgujar
Bunty Badgujar’s picture

Status: Needs review » Closed (outdated)

@edwardchiapet,
Now module using following code for getting message from response.
$messages = $response->get('Messages');
Can you please verify if this issue still exist?

Closing this issue as of now feel free to reopen if issue still exists.