Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1362

Get Actor reference from unique path

$
0
0

Hello I am struggling to get an actor reference from a dynamic path

I created a bunch of actors at the root level with an unique name for each actor
My idea is to allow after any new actor of my application to send a message to an actor it can guess its unique path.
something like that
val actor = getActorByPath(“myuniquepath”)
actor ! SendAMessage()

I am not able to find the right way to do that or even if it is possible when we build actors in a dynamic way
thanks for your help

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1362

Trending Articles