public static void deleteQueue ( String queueURL ) { if ( ! StringUtils . isBlank ( queueURL ) ) { try { getClient ( ) . deleteQueue ( new DeleteQueueRequest ( queueURL ) ) ; } catch ( AmazonServiceException ase ) { logException ( ase ) ; } catch ( AmazonClientException ace ) { logger . error ( "Could not reach SQS. {0}" , ace . toString ( ) ) ; } } }
Deletes an SQS queue on AWS .