def reserve(queue_name)
      resp = sqs.receive_message(queue_url: url_for_queue(queue_name), max_number_of_messages: 1)
      return nil unless resp.messages.any?
      Message.new queue_client: self, queue: queue_name, sqs_message: resp.messages.first
    end
def reserve(queue_name)
      resp = sqs.receive_message(queue_url: url_for_queue(queue_name), max_number_of_messages: 1)
      return nil unless resp.messages.any?
      Message.new queue_client: self, queue: queue_name, sqs_message: resp.messages.first
    end
Reserve a message from the specified queue

 @param queue_name [String, Symbol] the name of the SQS queue to reserve a message from
 @return [Messages::Sqs, NilClass] the message retrieved from the queue