title: AWS SQS Receive Messages -- How to Know when Queue is Empty
body: <p>I want to get all the messages in the queue to process them. However the property for MaxNumberOfMessages is 10 (based on documentation)</p>
  
  <p><a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ReceiveMessage.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ReceiveMessage.html</a></p>
  
  <p>How can I read in all messages so I can process them? Or how would I know when queue is empty?</p>
  
  <p>thanks</p>