com.amazonaws.services.sqs.model.ListDeadLetterSourceQueuesRequest Java Examples

The following examples show how to use com.amazonaws.services.sqs.model.ListDeadLetterSourceQueuesRequest. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: QueueImpl.java    From aws-sdk-java-resources with Apache License 2.0 5 votes vote down vote up
@Override
public QueueCollection getDeadLetterSourceQueues(
        ListDeadLetterSourceQueuesRequest request) {

    ResourceCollectionImpl result =
            resource.getCollection("DeadLetterSourceQueues", request);

    if (result == null) return null;
    return new QueueCollectionImpl(result);
}
 
Example #2
Source File: AbstractAmazonSQSClientWrapper.java    From amazon-sqs-java-temporary-queues-client with Apache License 2.0 4 votes vote down vote up
@Override
public ListDeadLetterSourceQueuesResult listDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest request) {
    request.getRequestClientOptions().appendUserAgent(userAgent);
    return amazonSqsToBeExtended.listDeadLetterSourceQueues(request);
}
 
Example #3
Source File: AbstractAmazonSQSClientWrapperTest.java    From amazon-sqs-java-temporary-queues-client with Apache License 2.0 4 votes vote down vote up
@Test
public void listDeadLetterSourceQueues() {
    assertWrappedMethod(AmazonSQS::listDeadLetterSourceQueues, new ListDeadLetterSourceQueuesRequest());
}
 
Example #4
Source File: AmazonSQSExtendedClientBase.java    From amazon-sqs-java-extended-client-lib with Apache License 2.0 3 votes vote down vote up
/**
 * <p>
 * Returns a list of your queues that have the RedrivePolicy queue attribute
 * configured with a dead letter queue.
 * </p>
 * <p>
 * For more information about using dead letter queues, see <a href=
 * "http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html"
 * > Using Amazon SQS Dead Letter Queues </a> .
 * </p>
 *
 * @param listDeadLetterSourceQueuesRequest
 *            Container for the necessary parameters to execute the
 *            ListDeadLetterSourceQueues service method on AmazonSQS.
 * 
 * @return The response from the ListDeadLetterSourceQueues service method,
 *         as returned by AmazonSQS.
 * 
 * @throws QueueDoesNotExistException
 *
 * @throws AmazonClientException
 *             If any internal errors are encountered inside the client
 *             while attempting to make the request or handle the response.
 *             For example if a network connection is not available.
 * @throws AmazonServiceException
 *             If an error response is returned by AmazonSQS indicating
 *             either a problem with the data in the request, or a server
 *             side issue.
 */
public ListDeadLetterSourceQueuesResult listDeadLetterSourceQueues(
		ListDeadLetterSourceQueuesRequest listDeadLetterSourceQueuesRequest) throws AmazonServiceException,
		AmazonClientException {

	return amazonSqsToBeExtended.listDeadLetterSourceQueues(listDeadLetterSourceQueuesRequest);
}
 
Example #5
Source File: Queue.java    From aws-sdk-java-resources with Apache License 2.0 2 votes vote down vote up
/**
 * Retrieves the DeadLetterSourceQueues collection referenced by this
 * resource.
 */
QueueCollection getDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest
        request);