RocketMQ-Spring:帮助开发者在Spring Boot中快速集成RocketMQ
帮助开发者在Spring Boot中快速集成RocketMQ。支持Spring Message规范,方便开发者从其它MQ快速切换到RocketMQ。
Java 消息传输
共1072Star
详细介绍
RocketMQ-Spring
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 concurrently 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
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 details.
License
Apache License, Version 2.0 Copyright (C) Apache Software Foundation