Can someone point me to documentation that describes how to send a message
to an Actor and receive in reply an ActorRef?
The scenario is something like:
ActorA requires ActorC to do some work.
ActorA is created WITHOUT ActorC as constructor arg
ActorB is the parent of ActorC and recognizes a mes
Hi David,
There is no difference between replying with an ActorRef than anything else. I
think I might be missing what you're really asking.
B/
On 10 December 2014 at 22:35:29, David (davidlu...@gmail.com) wrote:
Can someone point me to documentation that describes how to send a message to
an
Thank Bjorn,
My question is this:
Consider:
package com.admarketplace.amqp
import akka.actor.{Props, ActorSystem, ActorRef, Actor}
import com.admarketplace.amqp.Circular.{Finish, Msg}
class ActorC(actorL:ActorRef) extends Actor{
def receive = {
case msg@Msg(id) =>
println(
OK, according to Viktor's comments
in
http://stackoverflow.com/questions/11819386/akka-actorfor-vs-passing-an-actorref
My solution is to have a parent actor control all three Actors - A,C,L and
then have the parent send the ActorA dependency to ActorL when it has
finished creating ActorA.
obj
Hi David,
So from your code, there is no parent actor, only an app, but maybe you plan to
have some kind of actor being a parent at a later stage. The initalization
seems really convoluted. If you know the realtive position in the actor
hierarchy or the absolute paths you could maybe explore ac