Correction of doc of unhandled, see #2736
* Fix wrong config property * Adjusted description in java api
This commit is contained in:
parent
04c30fb9d0
commit
532131493f
2 changed files with 6 additions and 5 deletions
|
|
@ -127,10 +127,11 @@ UntypedActor API
|
|||
The :class:`UntypedActor` class defines only one abstract method, the above mentioned
|
||||
:meth:`onReceive(Object message)`, which implements the behavior of the actor.
|
||||
|
||||
If the current actor behavior does not match a received message,
|
||||
:meth:`unhandled` is called, which by default publishes a ``new
|
||||
If the current actor behavior does not match a received message, it's recommended that
|
||||
you call the :meth:`unhandled` method, which by default publishes a ``new
|
||||
akka.actor.UnhandledMessage(message, sender, recipient)`` on the actor system’s
|
||||
event stream.
|
||||
event stream (set configuration item ``akka.actor.debug.unhandled`` to ``on``
|
||||
to have them converted into actual Debug messages).
|
||||
|
||||
In addition, it offers:
|
||||
|
||||
|
|
|
|||
|
|
@ -234,8 +234,8 @@ If the current actor behavior does not match a received message,
|
|||
:meth:`unhandled` is called, which by default publishes an
|
||||
``akka.actor.UnhandledMessage(message, sender, recipient)`` on the actor
|
||||
system’s event stream (set configuration item
|
||||
``akka.event-handler-startup-timeout`` to ``true`` to have them converted into
|
||||
actual Debug messages)
|
||||
``akka.actor.debug.unhandled`` to ``on`` to have them converted into
|
||||
actual Debug messages).
|
||||
|
||||
In addition, it offers:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue