Add a note to the coordinated docs. Fixes #1292

Note that the same actor cannot be added to a coordinated
transaction more than once as only one coordinated message
can be processed
This commit is contained in:
Peter Vlugter 2011-12-22 16:27:54 +13:00
parent 2896015feb
commit 8d79185445
2 changed files with 16 additions and 0 deletions

View file

@ -110,6 +110,14 @@ object, passing in an ``akka.transactor.Atomically`` object.
The coordinated transaction will wait for the other transactions before
committing. If any of the coordinated transactions fail then they all fail.
.. note::
The same actor should not be added to a coordinated transaction more than
once. The transaction will not be able to complete as an actor only processes
a single message at a time. When processing the first message the coordinated
transaction will wait for the commit barrier, which in turn needs the second
message to be received to proceed.
UntypedTransactor
=================