百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

amazon-sqs-java-temporary-queues-client

> 编程语言
开源

一个 Amazon SQS 客户端,支持创建轻量级、自动删除的临时队列,可用于常见的消息传递模式,例如请求/响应。

99 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个 Amazon SQS 客户端,支持创建轻量级、自动删除的临时队列,可用于常见的消息传递模式,例如请求/响应。

Amazon SQS Java Temporary Queue Client

The Temporary Queue Client lets you create lightweight, temporary queues that are deleted automatically when they are no longer in use. You can use the Temporary Queue Client for use in common messaging patterns such as Request-Response.

This library provides two complementary interfaces for two-way communication through queues:

  • The AmazonSQSRequester interface lets message producers send a message and wait for the corresponding response message.
  • The AmazonSQSResponder interface lets message consumers send response messages.

To implement this pattern efficiently, the AmazonSQSRequester client creates temporary queues that hold response messages. The temporary queue architecture scales to an arbitrary number of message producer runtimes. There is no risk of response messages being consumed by the wrong client.

Temporary queues are also automatically deleted if the clients that created them die ungracefully. By default, these internal queues are created with the queue name prefix __RequesterClientQueues__. You can configure this prefix when you build the requester client.

Getting Started

  1. Before you begin, register for an AWS account. For more information about creating an AWS account and retrieving your AWS credentials, see AWS Account and Credentials in the AWS SDK for Java Developer Guide.
  2. Sign in to the Amazon SQS console.
  3. To use the Temporary Queue client, you'll need Java 8 (or later) and Maven 3.
  4. Download the latest release or add a Maven dependency into your pom.xml file:

Version 2.x

xml
  
    com.amazonaws
    amazon-sqs-java-temporary-queues-client
    2.0.1
    jar
  

Version 1.x

xml
  
    com.amazonaws
    amazon-sqs-java-temporary-queues-client
    1.2.4
    jar
  
  1. Explore the code examples.
  2. Read the documentation.

Feedback

  • Send us your feedback.
  • If you'd like to contribute a new feature or bug fix, we'd love to see Github pull requests from you!

License

This library is licensed under the Apache 2.0 License.

See LICENSE and NOTICE for more information.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javaamazon-sqsqueuesrequest-responsesqs

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言