Start building against Reactor 2.0.1 snapshots

See gh-2719
This commit is contained in:
Andy Wilkinson
2015-04-27 13:47:42 +01:00
parent 681894a1f3
commit ee7c86a07d
7 changed files with 104 additions and 84 deletions

View File

@@ -7,7 +7,7 @@ import java.util.concurrent.CountDownLatch
class Runner implements CommandLineRunner {
@Autowired
Reactor reactor
EventBus eventBus
private CountDownLatch latch = new CountDownLatch(1)
@@ -17,7 +17,7 @@ class Runner implements CommandLineRunner {
}
void run(String... args) {
reactor.notify("hello", Event.wrap("Phil"))
eventBus.notify("hello", Event.wrap("Phil"))
log.info "Notified Phil"
latch.await()
}
@@ -34,7 +34,7 @@ class Runner implements CommandLineRunner {
class Greeter {
@Autowired
Reactor reactor
EventBus eventBus
@Autowired
private CountDownLatch latch