Merge pull request #1590 from drewhk/wip-2918-doc-evtbus-not-preserve-sndr-drewhk

=doc: Document that EventBus do not preserve sender #2918
This commit is contained in:
Roland Kuhn 2013-07-04 06:52:01 -07:00
commit 0d956a31ba
2 changed files with 12 additions and 0 deletions

View file

@ -21,6 +21,12 @@ implementing a simple interface:
according to the specific bus (see `Classifiers`_) and then published to all
subscribers for the obtained classifier
.. note::
Please note that the EventBus does not preserve the sender of the
published messages. If you need a reference to the original sender
you have to provide it inside the message.
This mechanism is used in different places within Akka, e.g. the
:ref:`DeathWatch <deathwatch-java>` and the `Event Stream`_. Implementations
can make use of the specific building blocks presented below.