Registry / messaging / rocketmq-spring-boot-starter

rocketmq-spring-boot-starter

JSON →
library2.3.5javamavenunverified

Spring Boot starter for integrating Apache RocketMQ messaging in Spring applications.

<dependency> <groupId>org.apache.rocketmq</groupId> <artifactId>rocketmq-spring-boot-starter</artifactId> <version>2.3.5</version> </dependency>
INSTALL
IMPORT
SIG · ROCKETMQ-SPRING-BO
R
rocketmq-spring-boot-starter
messagingjavav2.3.5
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.

RocketMQTemplate
✓ org.apache.rocketmq.spring.core.RocketMQTemplate

Sends a message using RocketMQTemplate

import org.apache.rocketmq.spring.core.RocketMQTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Example implements CommandLineRunner { @Autowired private RocketMQTemplate rocketMQTemplate; public static void main(String[] args) { SpringApplication.run(Example.class, args); } @Override public void run(String... args) throws Exception { rocketMQTemplate.convertAndSend("test-topic", "Hello, RocketMQ!"); } }
Debug
Known issues
breakingVersion 2.3.5 requires Spring Boot 2.x; incompatible with Spring Boot 3.x.
fix
Upgrade to rocketmq-spring-boot-starter 2.4.0+ for Spring Boot 3.x support.
affects: <2.4.0
Upgrade
Version history
2.3.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
2
Amazon
1
Resources
rocketmq-spring-boot-starter — mvn dependency:get rocketmq-spring-boot-starter · libregistry