File tree Expand file tree Collapse file tree 5 files changed +25
-7
lines changed
rqueue-core/src/main/java/com/github/sonus21/rqueue/annotation Expand file tree Collapse file tree 5 files changed +25
-7
lines changed Original file line number Diff line number Diff line change 11# [ Rqueue] New and Notable Changes
22
3+ ## [ 2.5.0] - 8-Feb-2021
4+
5+ ### Added
6+
7+ * Attach more than one message listeners to the same queue
8+
39## [ 2.4.0] - 3-Feb-2021
410
511### Added
@@ -184,3 +190,5 @@ Fixes:
184190[ 2.3.0 ] : https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.3.0-RELEASE
185191
186192[ 2.4.0 ] : https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.4.0-RELEASE
193+
194+ [ 2.5.0 ] : https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.5.0-RELEASE
Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ services code is in Spring.
5353* Add dependency
5454 * Gradle
5555 ``` groovy
56- implementation 'com.github.sonus21:rqueue-spring-boot-starter:2.4 .0-RELEASE'
56+ implementation 'com.github.sonus21:rqueue-spring-boot-starter:2.5 .0-RELEASE'
5757 ```
5858 * Maven
5959 ```xml
6060 <dependency>
6161 <groupId>com.github.sonus21</groupId>
6262 <artifactId>rqueue-spring-boot-starter</artifactId>
63- <version>2.4 .0-RELEASE</version>
63+ <version>2.5 .0-RELEASE</version>
6464 </dependency>
6565 ```
6666
@@ -71,14 +71,14 @@ services code is in Spring.
7171* Add Dependency
7272 * Gradle
7373 ```groovy
74- implementation 'com.github.sonus21:rqueue-spring:2.4 .0-RELEASE'
74+ implementation 'com.github.sonus21:rqueue-spring:2.5 .0-RELEASE'
7575 ```
7676 * Maven
7777 ```xml
7878 <dependency>
7979 <groupId>com.github.sonus21</groupId>
8080 <artifactId>rqueue-spring</artifactId>
81- <version>2.4 .0-RELEASE</version>
81+ <version>2.5 .0-RELEASE</version>
8282 </dependency>
8383 ```
8484
Original file line number Diff line number Diff line change 6969
7070subprojects {
7171 group = ' com.github.sonus21'
72- version = ' 2.4 .0-RELEASE'
72+ version = ' 2.5 .0-RELEASE'
7373
7474 dependencies {
7575 // https://mvnrepository.com/artifact/org.springframework/spring-messaging
Original file line number Diff line number Diff line change 2222import java .lang .annotation .RetentionPolicy ;
2323import java .lang .annotation .Target ;
2424
25+ /**
26+ * This designated any public method as listener given the containing method is also annotated with
27+ * {@link RqueueListener}. In a class there must be exactly one primary one handler.
28+ *
29+ * <p>Registering more than one primary handler is not allowed.
30+ */
2531@ Target ({ElementType .METHOD })
2632@ Retention (RetentionPolicy .RUNTIME )
2733@ Documented
Original file line number Diff line number Diff line change 2424import java .lang .annotation .Target ;
2525
2626/**
27- * Annotation for mapping a method onto message-handling methods by matching to the message queue.
27+ * Annotation for mapping a method/class onto message-handling methods by matching to the message
28+ * queue.
2829 *
2930 * <p>Any method can be marked as listener with this annotation, different field can be configured
3031 * in any order as per need.
3132 *
32- * <p>All fields support SpEL(Spring Expression Language) as well property placeholder.
33+ * <p>When this is used on a class, listeners methods (public method) must be annotated by {@link
34+ * RqueueHandler}
35+ *
36+ * <p>All fields support SpEL(Spring Expression Language), property placeholder and constants value
3337 *
3438 * <pre>
3539 * @Component
You can’t perform that action at this time.
0 commit comments