Registry / messaging / spring-boot-starter-amqp

spring-boot-starter-amqp

JSON →
library4.0.6javamavenunverified

Starter for using Spring AMQP and RabbitMQ in Spring Boot applications.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-amqp
messagingjavav4.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RabbitTemplate
org.springframework.amqp.rabbit.core.RabbitTemplate

Send a message to a RabbitMQ queue

import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.beans.factory.annotation.Autowired; @Autowired private RabbitTemplate rabbitTemplate; public void sendMessage(String message) { rabbitTemplate.convertAndSend("myQueue", message); }
Debug
Known issues
gotchaSpring Boot AMQP auto-configuration requires RabbitMQ server running; otherwise application fails to start.
fix
Ensure RabbitMQ is running or disable auto-configuration with spring.autoconfigure.exclude.
affects: all
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
OpenAI (training)
1
Resources
spring-boot-starter-amqp — mvn dependency:get spring-boot-starter-amqp · libregistry