Some further information on problem is revealed by this debug data. This shows a transformation of path to the recipient that is the immediate cause of the error.
Post Discard DEBUG] [01[/05/2017 04:28:55.557] [community-akka.remote.default-remote-dispatcher-6] [akka.remote.Remoting] Associated [akka.tcp://[email protected]:4000] <- [akka.tcp://[email protected]:4001] [INFO] [01/05/2017 04:28:55.843] [community-akka.actor.default-dispatcher-15] [akka://community/user/speaker] Message [net.design.emergent.aspire.alfa.base.Message] from Actor[ akka.tcp://[email protected]:4001/user/Pedestrian#1960309084] to Actor[ akka://community/user/speaker] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown' . The ability to associate two paths remote to each other, on separate actor systems, is what is happening and what I would expect. But the thing that I cannot explain is why the recipient's path was transformed to [ akka://community/user/speaker] when the message was actually sent. On Wednesday, January 4, 2017 at 5:51:50 PM UTC-5, Rafał Krzewski wrote: > > 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.
