hi,

i'm looking for a solution for the following task:

i have 2 types of actors. their instances can be deployed in a local 
non-distributed environment or in a cluster, where they can be also 
available in the same node or on different nodes.

these actors have to exchange messages in a stateless manner (like in 
microservices' event bus messaging style) without knowing where exactly 
their addressee is deployed.  

i see the following example in the distributed pubsub docs:

ActorRef mediator = DistributedPubSub.get( getContext().system() 
).mediator();
...
mediator.tell( new DistributedPubSubMediator.Send( "/user/destination", 
out, localAffinity ), self() );

my problem is that mediator currently supports tell() only, but i need a 
possibility to receive callback with a reply to original call, something 
like Patterns.ask().
does akka provide any solution for this? 
since i'm a total newbie, i'll also appreciate your advice in case i have 
to look for a solution based on other features. 

thanks. 

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to