Example #1
0
 public function send()
 {
     $c = new Encrypt();
     $message = $c->encode(json_encode($this->attributes));
     $q = MessageQueue::Get($account);
     try {
         $q->send($this->queue, $message);
         return TRUE;
     } catch (AWSException $ex) {
         return FALSE;
     }
 }