LrSqsQueuesList.queueUrls

Returns the URLs of the queues.

public Collection<String> queueUrls()

Return values

This function returns a collection of String values that represent the URLs of the queues.

Example

Copy code
public int action() throws Throwable {
       LrSqsClient.initClient(region, "");
        
        LrSqsQueuesList response = LrSqsClient.listQueues("");
        for (String queueUrl : response.queueUrls())
        {
            lr.log_message("QUEUE: " + queueUrl);
        }
        
        response = LrSqsClient.listQueues("", 10, response.nextToken());
        
        LrSqsClient.closeClient();
        return 0;
    }