Files
Ankur MhatreandClaude Sonnet 5.5 e54cf840fd Add amqp10 module: AMQP 1.0 in Spring Boot 4.2 with RabbitMQ 4
Generic spring-boot-starter-amqp (AmqpClient, @AmqpListener) and RabbitMQ's own AMQP 1.0 client
against a real RabbitMQ 4.4.1 broker via Testcontainers. Transcripts in amqp10/output/ are written
by the tests; no docs/ folder.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b44H98Yd627wauSpzA
2026-11-25 23:27:57 +05:30

66 lines
2.2 KiB
XML

<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>4.2.0</version>
<relativePath/>
</parent>
<groupId>com.ankurm</groupId>
<artifactId>amqp10-spring-boot</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<properties>
<java.version>25</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- In Boot 4.2 this starter means GENERIC AMQP 1.0 (protonj2 + spring-amqp-client, properties
under spring.amqp.*). The classic RabbitMQ 0-9-1 starter is spring-boot-starter-rabbitmq. -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
<!-- The third Boot 4.2 AMQP starter: RabbitMQ's own AMQP 1.0 client (spring-rabbitmq-client),
properties under spring.amqp.rabbitmq.*. It auto-configures RabbitAmqpTemplate, RabbitAmqpAdmin
and a RabbitAmqpListenerContainerFactory; the classic 0-9-1 starter is spring-boot-starter-rabbitmq. -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp-rabbitmq</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jackson</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-rabbitmq</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-testcontainers</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>