#1299 - Removing reply and tryReply, preparing the way for 'sender ! response'
This commit is contained in:
parent
2d4251fcee
commit
77dc9e9c35
61 changed files with 144 additions and 186 deletions
|
|
@ -96,13 +96,13 @@ class ActorComponentFeatureTest extends FeatureSpec with BeforeAndAfterAll with
|
|||
object ActorComponentFeatureTest {
|
||||
class CustomIdActor extends Actor {
|
||||
protected def receive = {
|
||||
case msg: Message ⇒ reply("Received %s" format msg.body)
|
||||
case msg: Message ⇒ channel ! ("Received %s" format msg.body)
|
||||
}
|
||||
}
|
||||
|
||||
class FailWithMessage extends Actor {
|
||||
protected def receive = {
|
||||
case msg: Message ⇒ reply(Failure(new Exception("test")))
|
||||
case msg: Message ⇒ channel ! Failure(new Exception("test"))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue