本文整理汇总了Java中com.amazonaws.services.sqs.model.ListDeadLetterSourceQueuesResult类的典型用法代码示例。如果您正苦于以下问题:Java ListDeadLetterSourceQueuesResult类的具体用法?Java ListDeadLetterSourceQueuesResult怎么用?Java ListDeadLetterSourceQueuesResult使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ListDeadLetterSourceQueuesResult类属于com.amazonaws.services.sqs.model包,在下文中一共展示了ListDeadLetterSourceQueuesResult类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: listDeadLetterSourceQueuesAsync
import com.amazonaws.services.sqs.model.ListDeadLetterSourceQueuesResult; //导入依赖的package包/类
public Observable<ListDeadLetterSourceQueuesResult> listDeadLetterSourceQueuesAsync(ListDeadLetterSourceQueuesRequest request) {
return Observable.from(sqsClient.listDeadLetterSourceQueuesAsync(request));
}
示例2: listDeadLetterSourceQueues
import com.amazonaws.services.sqs.model.ListDeadLetterSourceQueuesResult; //导入依赖的package包/类
/**
* <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);
}
开发者ID:awslabs,项目名称:amazon-sqs-java-extended-client-lib,代码行数:36,代码来源:AmazonSQSExtendedClientBase.java