diff --git a/akka-actor/src/main/scala/akka/actor/Channel.scala b/akka-actor/src/main/scala/akka/actor/Channel.scala index f50332cf87..d860eafdff 100644 --- a/akka-actor/src/main/scala/akka/actor/Channel.scala +++ b/akka-actor/src/main/scala/akka/actor/Channel.scala @@ -25,7 +25,7 @@ package japi { * Abstraction for unification of sender and senderFuture for later reply. * Can be stored away and used at a later point in time. * - * The possible reply channel which can be passed into ! and safe_! is always + * The possible reply channel which can be passed into ! and tryTell is always * untyped, as there is no way to utilize its real static type without * requiring runtime-costly manifests. */ @@ -135,9 +135,9 @@ case object NullChannel extends UntypedChannel { You have probably: 1. Sent a message to an Actor from an instance that is NOT an Actor. 2. Invoked a method on an TypedActor from an instance NOT an TypedActor. - You may want to have a look at safe_! for a variant returning a Boolean""") + You may want to have a look at tryTell for a variant returning a Boolean""") } - def tryTell(msg: Any)(implicit channel: UntypedChannel, dummy: Int = 0): Boolean = false + override def tryTell(msg: Any)(implicit channel: UntypedChannel): Boolean = false } /** diff --git a/config/akka-reference.conf b/config/akka-reference.conf index 9c03608a3d..13e9b97877 100644 --- a/config/akka-reference.conf +++ b/config/akka-reference.conf @@ -28,8 +28,8 @@ akka { actor { timeout = 5 # Default timeout for Future based invocations - # - Actor: !! && ? - # - UntypedActor: sendRequestReply && ask + # - Actor: ask && ? + # - UntypedActor: ask # - TypedActor: methods with non-void return type serialize-messages = off # Does a deep clone of (non-primitive) messages to ensure immutability throughput = 5 # Default throughput for all Dispatcher, set to 1 for complete fairness