Thanks Björn.

So if I have an Actor which need receive message from both a Mediator and a 
ClusterClient, should I call both put and registerService in case there's 
some change in the future or only call registerService is enough? 

On Monday, August 18, 2014 8:16:44 PM UTC+8, Björn Antonsson wrote:
>
> Hi,
>
> The registerService call right now only uses 
> DistributedPubSubMediator.Put. There is no difference at all at the moment. 
> There might be in the future though.
>
> B/
>
> On 18 August 2014 at 07:10:31, JasonQ (quqin...@gmail.com <javascript:>) 
> wrote:
>
> Hello,  
>
> Per my understanding after going through AKKA document,  if I want to use 
> mediator to send message to some actor in the cluster , I need 
> use DistributedPubSubMediator.Put.  When using ClusterClient.send, there's 
> sample code using registerService in the doc instead of 
> DistributedPubSubMediator.Put. Function wise, is there any difference 
> between ClusterReceptionistExtension(system).registerService and 
> DistributedPubSubMediator.Put? 
>  --
> >>>>>>>>>> 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 akka-user+...@googlegroups.com <javascript:>.
> To post to this group, send email to akka...@googlegroups.com 
> <javascript:>.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> *Björn Antonsson*
> Typesafe <http://typesafe.com/> – Reactive Apps on the JVM
> twitter: @bantonsson <http://twitter.com/#!/bantonsson>
>
>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to