On 7 March 2014 at 16:13:24, bryan hunt ([email protected]) wrote:



Hi Bjorn,

This is log4j logging from the akka.remote.DefaultMessageDispatcher

>> [DEBUG] [03/03/2014 15:00:24.149] 
>> [s3uploader-service-akka.actor.default-dispatcher-3] 
>> [akka://s3uploader-service/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fs3upload-service-client%40127.0.0.1%3A6662-0/endpointWriter]
>>  received local message RemoteMessage: 
>> [SelectChildName(user,SelectChildName(processors,SelectChildName(s3dfdduploader,S3Request(/Users/bryanhunt/Pictures/old/uzi.jpg,1234-5678))))]
>>  to [Actor[akka://s3uploader-service/]]<+[akka://s3uploader-service/] from 
>> [Actor[akka.tcp://[email protected]:6662/temp/$a]]

It shows the message being received by the system.


Yes, the message is properly received by the system, and if there is no 
recipient at that path in the receiving system, it should be sent to dead 
letters on the receiving  system.





The other two messages were taken from my attempt to print diagnostic 
information about non-handled remote messages.

It's no big deal, but other members of the team have had a lot of problems 
where they used an incorrect endpoint name and messages disappear into the 
ether.

I can't really find a way to load a handler which will catch all such messages.

I tried registering for RemotingLifecycleEvent, but it didn't pick up any such 
messages, it's just association/disassociation events.


Strangely, line 89 of DefaultMessageDispatcher seems like it would log out 
messages sent to unknown recipients, but it doesn't seem to be doing anything.

case r ⇒ log.error("dropping message [{}] for unknown recipient [{}] arriving 
at [{}] inbound addresses are [{}]",
        payloadClass, r, recipientAddress, 
provider.transport.addresses.mkString(", "))


This is a catch all for malformed messages with “broken” recipients.

B/

Anyhow, no big deal, but it was worth taking a look at.

Thanks,

Bryan


--
>>>>>>>>>> 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/d/optout.

-- 
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/d/optout.

Reply via email to