Share this page

# 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;
        }

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: