DOC: gotcha in Coordinated actors
def receive = { case coord @ Coordinated(_) => { coord.atomic { actorB ! coord(Hello) actorB ! coord(World) } } }
or maybe in a transactor
override def coordinate = sendTo(actorB -> Hello, actorB -> World)
It seems that actorB's coordinated processing of Hello will prevent it
from processing World.
Leave a comment
on 2011-10-18 21:03 *
By viktorklang
Summary changed from Document gotcha in Coordinated actors to DOC: gotcha in Coordinated actors
(In revision:8d7918544569fae14e3d9c7333f42a86fd8f11e0) 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
Branch: master
Note that the same actor cannot be added to a coordinated
transaction more than once as only one coordinated message
can be processed
Branch: master
(In revision:8d7918544569fae14e3d9c7333f42a86fd8f11e0) 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
Branch: wip-1524-document-serialization-√
Note that the same actor cannot be added to a coordinated
transaction more than once as only one coordinated message
can be processed
Branch: wip-1524-document-serialization-√