public static List < String > listQueues ( ) { List < String > list = new ArrayList <> ( ) ; try { list = getClient ( ) . listQueues ( ) . getQueueUrls ( ) ; } catch ( AmazonServiceException ase ) { logException ( ase ) ; } catch ( AmazonClientException ace ) { logger . error ( "Could not reach SQS. {0}" , ace . toString ( ) ) ; } return list ; }
Returns a list of URLs for all available queues on SQS .