#1299 - Removing reply and tryReply, preparing the way for 'sender ! response'

This commit is contained in:
Viktor Klang 2011-10-19 16:59:47 +02:00
parent 2d4251fcee
commit 77dc9e9c35
61 changed files with 144 additions and 186 deletions

View file

@ -73,7 +73,7 @@ class ConfiguredLocalRoutingSpec extends AkkaSpec {
val actor = app.actorOf(Props(new Actor {
lazy val id = counter.getAndIncrement()
def receive = {
case "hit" reply(id)
case "hit" channel ! id
case "end" doneLatch.countDown()
}
}), address)
@ -187,7 +187,7 @@ class ConfiguredLocalRoutingSpec extends AkkaSpec {
val actor = app.actorOf(Props(new Actor {
lazy val id = counter.getAndIncrement()
def receive = {
case "hit" reply(id)
case "hit" channel ! id
case "end" doneLatch.countDown()
}
}), address)