项目:unitstack
文件:MockSqsTest.java
@Test
public void testNonInjectableMocks_shouldReturnNormal() {
assertNotNull(sqs.changeMessageVisibilityBatch(new ChangeMessageVisibilityBatchRequest()));
assertNotNull(sqs.addPermission(new AddPermissionRequest().withActions("one").withAWSAccountIds("two","three").withLabel("four").withQueueUrl("five")));
assertNotNull(sqs.listDeadLetterSourceQueues(new ListDeadLetterSourceQueuesRequest().withQueueUrl("ten")));
assertNotNull(sqs.getQueueAttributes(new GetQueueAttributesRequest().withAttributeNames(ImmutableList.of("eleven")).withQueueUrl("twelve")));
assertNotNull(sqs.setQueueAttributes(new SetQueueAttributesRequest().withAttributes(ImmutableMap.of("thirteen","fourteen")).withQueueUrl("fifteen")));
}
项目:aws-sdk-java-resources
文件:QueueImpl.java
@Override
public QueueCollection getDeadLetterSourceQueues(
ListDeadLetterSourceQueuesRequest request) {
ResourceCollectionImpl result =
resource.getCollection("DeadLetterSourceQueues",request);
if (result == null) return null;
return new QueueCollectionImpl(result);
}
项目:reactive-sqs-client
文件:ReactiveSqsClient.java
public Observable<ListDeadLetterSourceQueuesResult> listDeadLetterSourceQueuesAsync(ListDeadLetterSourceQueuesRequest request) {
return Observable.from(sqsClient.listDeadLetterSourceQueuesAsync(request));
}
项目:amazon-sqs-java-extended-client-lib
文件:AmazonSQSExtendedClientBase.java
/**
* <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);
}
项目:aws-sdk-java-resources
文件:Queue.java
/**
* Retrieves the DeadLetterSourceQueues collection referenced by this
* resource.
*/
QueueCollection getDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest
request);