Registry / messaging / spring-rabbit

spring-rabbit

JSON →
library4.0.3javamavenunverified

Spring Framework integration for RabbitMQ, providing message template and listener container support.

<dependency> <groupId>org.springframework.amqp</groupId> <artifactId>spring-rabbit</artifactId> <version>4.0.3</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-RABBIT
S
spring-rabbit
messagingjavav4.0.3
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 using RabbitTemplate

import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.context.annotation.AnnotationConfigApplicationContext; AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(RabbitConfig.class); RabbitTemplate template = ctx.getBean(RabbitTemplate.class); template.convertAndSend("myQueue", "Hello");
Debug
Known issues
breakingSpring AMQP 3.x requires Spring Framework 6.x; incompatible with older Spring versions.
fix
Upgrade to Spring Boot 3.x or Spring Framework 6.x.
affects: >=3.0.0
Upgrade
Version history
4.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
spring-rabbit — mvn dependency:get spring-rabbit · libregistry