events - Wait for akka actor system to become available -
i using akka 2.1 scala 2.10.
i need multiple machines start actor systems , instantiate number of actors. after this, each scheme needs access other systems , collect references actors using "actorfor(...)".
however, need way actor scheme wait on other systems boot before connects, otherwise errors.
if actor scheme connects b while b offline, programme fails. however, if connects b , obtains remote actor reference before exists on b, programme continues fine 1 time b instantiates actor.
in nutshell, need somehow await creation event @ b before seek connecting it. there way in scala+akka?
you might want cluster back upwards akka. allows hear events when other machines bring together cluster , become available communication.
events scala akka actor remote-actors
No comments:
Post a Comment