Hi Bryan,

On 4 March 2014 at 15:02:26, bryan hunt ([email protected]) wrote:


We find that misconfigured Akka Remoting endpoints (both on the client and 
server) are a recurrent problem for our team.

Problems mostly center around getting remote actor path wrong, although there 
have been occurrences where the actor system name has been wrong.

I'd like to write something that would print out all messages that are sent to 
invalid actor paths or systems. I would enable or disable it with a command 
line flag.

Can anyone suggest how I could accomplish such a thing?


I would go with the kind of approach that you described in your previous email 
with some additions. Add a listener that is activated based on a config setting 
(default to off) that can be overriden from the command line.

Listen to DeadLetters and RemotingLifecycleEvent, (AssociationErrorEvent is 
published when connections go wrong). You can also filter the deadletters to 
ignore things in the /system/ path, that are probably Akka internal.



B/




--
>>>>>>>>>> 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.


-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

-- 
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to