by Kevin Schroeder | 12:00 am

Amazon SQS and Zend Framework

I’m doing some work for a webinar and I figured out that if you want use AWS SQS in your app you need to specify not just the queue name, but the full URL. What is the full URL? It is what createQueue() returns.

For example, I was doing this to store the queue name in a task that was stored in the session so I could get it at a later point in time:

$this->_queueName = sha1(‘fileProcess-‘ . $this->_sourceId);

188 words ()