Hi, (Just off the top of my head so I may be wrong here)

have you tried to store the resulting ActorRef in a val and sending it the
message?

val singleton = system.actorOf(ClusterSingletonManager.props(…), )

singleton ! "my message"




On Wed, Jan 22, 2014 at 8:08 PM, akhil <[email protected]> wrote:

> Hi,
>
> I went through other posts and docs on ClusterSingletonManager but a
> little confused how to use it?
>
> I have created an actor using:
>
> system.actorOf(ClusterSingletonManager.props(
>       singletonProps = handOverData => Props(classOf[TestSI]),
>       singletonName = "master",
>       terminationMessage = PoisonPill,
>       role = Some("worker")),
>       name = "singleton")
>
>
> How do I send message to this actor?
>
> Akhil
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Cheers,
√

*———————**Viktor Klang*
*Chief Architect - **Typesafe <http://www.typesafe.com/>*

Twitter: @viktorklang

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to