phprockers-logo

How to list the Queues in Amazan?

1. Method:

// List queues
$sqs = new AmazonSQS();
$response = $sqs->list_queues();

// Success?
var_dump($response->isOK());

2.Method
// List queues with prefix 'a'
$sqs = new AmazonSQS();
$response = $sqs->list_queues(array(
'QueueNamePrefix' => 'a'));

// Success?
var_dump($response->isOK());

0 comments:

Post a Comment