[ISSUE #208]support request/reply model in rocketmq-spring (#209)

* support request/response model in rocketmq-spring

* fix checkstyle problem

* add more test cases

* optimize request/reply model

* add examples to ProduceApplication.java

* wrap RequestCallback to conceal RocketMQ message

* requestCallback as method parameter

* delete useless class

* fix some comments and print format
21 files changed
tree: 8bfa5a64161bbd427d9d2c4ebd27dce3d15e88c9
  1. .github/
  2. .gitignore
  3. .travis.yml
  4. LICENSE
  5. NOTICE
  6. README.md
  7. pom.xml
  8. rocketmq-spring-boot-parent/
  9. rocketmq-spring-boot-samples/
  10. rocketmq-spring-boot-starter/
  11. rocketmq-spring-boot/
  12. style/
README.md

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

  • [x] Send messages synchronously
  • [x] Send messages asynchronously
  • [x] Send messages in one-way mode
  • [x] Send ordered messages
  • [x] Send batched messages
  • [x] Send transactional messages
  • [x] Send scheduled messages with delay level
  • [x] Consume messages with concurrently mode (broadcasting/clustering)
  • [x] Consume ordered messages
  • [x] Filter messages using the tag or sql92 expression
  • [x] Suport message tracing
  • [x] 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