/**
  * Creates a PHP SQS queue object
  *
  * Queue objects are created with the full URL because Amazon reserves the
  * right to change the URL scheme for queues created in the future.
  *
  * @param string $queueUrl the URL of this queue.
  *
  * @param string $accessKey either a string containing the SQS access key for an account.
  *
  * @param string $secretKey the secret access key for the SQS account.
  *
  */
 public function __construct($queueUrl, $accessKey = null, $secretKey = null)
 {
     // Make sure the queue url contains the sqs end point;
     if (false === strpos($queueUrl, self::SQS_ENDPOINT)) {
         $queueUrl = 'http://' . self::SQS_ENDPOINT . '/' . $queueUrl;
     }
     $this->queueUrl = $queueUrl;
     // start the parent class up.
     parent::__construct($accessKey, $secretKey);
 }