title: How to implement a priority queue using SQS(Amazon simple queue service)
body: <p>I have a situation when a msg fails and I would like to replay that msg with the highest priority using python boto package so he will be taken first. If I'm not wrong SQS queue does not support priority queue, so I would like to implement something simple.</p>
  
  <p><strong>Important note</strong>: when a msg fails I no longer have the message object, I only persist the receipt_handle so I can delete the message(if there was more than x retries) / change timeout visibility in order to push him back to queue.</p>
  
  <p>Thanks!</p>