You can do it by starting multiple JVMs on you local machine. Akka provides a dedicated toolkit for creating this kind of tests: http://doc.akka.io/docs/akka/2.4/dev/multi-node-testing.html The documentation is rather terse, but you can study the tests of akka-remoting and akka-cluster which are implemented this way.
Cheers, Rafał W dniu środa, 4 stycznia 2017 17:52:43 UTC+1 użytkownik Joseph Mansigian napisał: > > After I do an actorSelection on the remote path: > akka.tcp://[email protected]:4000/user/speaker > executing actor.Selection.pathString on the ActorSelection above shows the > local path: /user/speaker > > When I send a message it ends up in dead letters as you would expect. > This is problematical because I want to emulate remote processing of > many geographically separate actors on a local machine for development > purposes. > Can I do this? > > This happens with my application code written in scala 2.11.8 using > akka 2.4.9 and java 1.8.0_25 SE. > -- >>>>>>>>>> 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.
