hi guys,
I think i am still stuck,
A simple actor that publishes to this "content" topic:
1. class Publisher extends Actor {
2. import DistributedPubSubMediator.Publish
3. // activate the extension
4. val mediator = DistributedPubSubExtension(context.system).mediator
5.
6. def receive = {
7. case in: String ⇒
8. val out = in.toUpperCase
9. mediator ! Publish("content", out)
10. }
11. }
how do i get a reference of context in the above code ?
compiler says : *error: not found: value context*
I am using maven to build
--
>>>>>>>>>> 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.