apache/rocketmq-spring

Apache RocketMQ Spring Integration

2,269

stars

367

commits

Java

primary language

Jul 24, 2026

updated

rocketmq.apache.org/
rocketmq

README

RocketMQ-Spring

Build Status Coverage Status Maven Central GitHub release License Average time to resolve an issue Percentage of issues still open

This project aims to help developers quickly integrate RocketMQ with Spring Boot.

Features

  • Send messages synchronously
  • Send messages asynchronously
  • Send messages in one-way mode
  • Send ordered messages
  • Send batched messages
  • Send transactional messages
  • Send scheduled messages with delay level
  • Consume messages with concurrent mode (broadcasting/clustering)
  • Consume ordered messages
  • Filter messages using the tag or sql92 expression
  • Support message tracing
  • Support authentication and authorization
  • Support request-reply message exchange pattern
  • Consume messages with push/pull mode

Prerequisites

  • JDK 1.8 and above
  • Maven 3.0 and above
  • Spring Boot 2.0 and above

Usage

Add a dependency using maven:

<!--add dependency in pom.xml-->
<dependency>
    <groupId>org.apache.rocketmq</groupId>
    <artifactId>rocketmq-spring-boot-starter</artifactId>
    <version>${RELEASE.VERSION}</version>
</dependency>

Samples

Please see the rocketmq-spring-boot-samples.

User Guide

Please see the wiki page.

Contributing

We are always very happy to have contributions, whether for trivial cleanups or big new features. Please see the RocketMQ main website to read the details.

License

Apache License, Version 2.0 Copyright (C) Apache Software Foundation

Contributors

(top 30 of 70)

RongtongJin

82 commits

vongosling

54 commits

ShannonDing

32 commits

walking98

27 commits

apache/rocketmq-spring

Apache RocketMQ Spring Integration

2,269

stars

367

commits

Java

primary language

Jul 24, 2026

updated

rocketmq.apache.org/
rocketmq

README

RocketMQ-Spring

Build Status Coverage Status Maven Central GitHub release License Average time to resolve an issue Percentage of issues still open

This project aims to help developers quickly integrate RocketMQ with Spring Boot.

Features

  • Send messages synchronously
  • Send messages asynchronously
  • Send messages in one-way mode
  • Send ordered messages
  • Send batched messages
  • Send transactional messages
  • Send scheduled messages with delay level
  • Consume messages with concurrent mode (broadcasting/clustering)
  • Consume ordered messages
  • Filter messages using the tag or sql92 expression
  • Support message tracing
  • Support authentication and authorization
  • Support request-reply message exchange pattern
  • Consume messages with push/pull mode

Prerequisites

  • JDK 1.8 and above
  • Maven 3.0 and above
  • Spring Boot 2.0 and above

Usage

Add a dependency using maven:

<!--add dependency in pom.xml-->
<dependency>
    <groupId>org.apache.rocketmq</groupId>
    <artifactId>rocketmq-spring-boot-starter</artifactId>
    <version>${RELEASE.VERSION}</version>
</dependency>

Samples

Please see the rocketmq-spring-boot-samples.

User Guide

Please see the wiki page.

Contributing

We are always very happy to have contributions, whether for trivial cleanups or big new features. Please see the RocketMQ main website to read the details.

License

Apache License, Version 2.0 Copyright (C) Apache Software Foundation

Contributors

(top 30 of 70)

RongtongJin

82 commits

vongosling

54 commits

ShannonDing

32 commits

walking98

27 commits

Languages

Java

100.0%