Upgrade to Reactor 1.1
Fixes gh-706
This commit is contained in:
@@ -3,6 +3,7 @@ package org.test
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
|
||||
@EnableReactor
|
||||
@Consumer
|
||||
@Log
|
||||
class Runner implements CommandLineRunner {
|
||||
|
||||
@@ -22,7 +23,7 @@ class Runner implements CommandLineRunner {
|
||||
latch.await()
|
||||
}
|
||||
|
||||
@Selector(reactor="reactor", value="hello")
|
||||
@Selector(value="hello")
|
||||
void receive(String data) {
|
||||
log.info "Hello ${data}"
|
||||
latch.countDown()
|
||||
|
||||
Reference in New Issue
Block a user