Dispatcher Problem

22 views
Skip to first unread message

Joseph Mansigian

unread,
Jan 6, 2017, 10:51:49 AM1/6/17
to Akka User List
Hello hakkers,

I am getting  a repeatable problem I do not understand with dead letters.  I believe it has to do with the dispatchers being used.  I have not in any explicit manner tried to select dispatcher(s).  Here is a debug excerpt:

       * * * * * * *
[DEBUG] [01/06/2017 10:26:54.526] [community-akka.remote.default-remote-dispatcher-7] [akka.remote.Remoting] Associated [akka.tcp://comm...@127.0.0.1:4000] <- [akka.tcp://comm...@127.0.0.1:4001]
[INFO] [01/06/2017 10:26:54.809] [community-akka.actor.default-dispatcher-15] [akka://community/user/speaker] Message [net.design.emergent.aspire.alfa.base.Message] from Actor[akka.tcp://comm...@127.0.0.1:4001/user/Pedestrian#119383227] to Actor[akka://community/user/speaker] was not delivered.

      * * * * * * *

akka://community/user/speaker  above should be 
[akka.tcp://comm...@127.0.0.1:4000]/user/speaker

It looks like there is non-delivery because there is a transformation of the recipient's path.  Note that association takes place as expected.  Also note that there are two different dispatchers. 

Do not understand any of this or how to correct/further investigate.

Can provide any further info requested.

Any help appreciated.

Thanks.

Patrik Nordwall

unread,
Jan 14, 2017, 9:55:12 AM1/14/17
to Akka User List
The host:port is not included in such address strings if it's the address of current local ActorSystem. The message is sent from 4001 and arrives at 4000 but when dispatching it to actor /user/speaker there is no actor running at that path. Perhaps you didn't start it or it has been stopped?

/Patrik
--
>>>>>>>>>> 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.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages