此版本仍在开发中,尚未被视为稳定版本。对于最新的稳定版本,请使用 Spring Integration 6.3.1Spring中文文档

此版本仍在开发中,尚未被视为稳定版本。对于最新的稳定版本,请使用 Spring Integration 6.3.1Spring中文文档

Spring Integration 提供用于使用高级消息队列协议 (AMQP) 接收和发送消息的通道适配器。Spring中文文档

您需要将此依赖项包含在项目中:Spring中文文档

<dependency>
    <groupId>org.springframework.integration</groupId>
    <artifactId>spring-integration-amqp</artifactId>
    <version>6.3.2-SNAPSHOT</version>
</dependency>
compile "org.springframework.integration:spring-integration-amqp:6.3.2-SNAPSHOT"

提供以下适配器:Spring中文文档

Spring Integration 还提供了由 AMQP Exchange 和队列支持的点对点消息通道和发布-订阅消息通道。Spring中文文档

为了提供 AMQP 支持,Spring Integration 依赖于 (Spring AMQP),它将 Spring 的核心概念应用于基于 AMQP 的消息传递解决方案的开发。 Spring AMQP 提供与 (Spring JMS) 类似的语义。Spring中文文档

虽然提供的 AMQP 通道适配器仅用于单向消息传递(发送或接收),但 Spring Integration 还为请求-答复操作提供了入站和出站 AMQP 网关。Spring中文文档

提示: 您应该熟悉 Spring AMQP 项目的参考文档。 它提供了有关 Spring 与 AMQP 集成的更深入信息,特别是 RabbitMQ。Spring中文文档