I'm testing the experimental Java 8 lambda support with akka and AbstractActor, but I cannot seem to find a way to use the MDC feature this way. With an untyped actor, I can do Logging.getLogger(this) and get a DiagnosticLoggingAdapter with MDC support. However, since AbstractActor does not extend UntypedActor, I can only get a regular LoggingAdapter, with no way to set the MDC. Am I missing something? Is it possible with AbstractActor, or do I need to switch back to using UntypedActor?
--
>>>>>>>>>> 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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
Thanks! That does work. I was kind of staying away from the apply methods in the Akka classes, since I was considering them Scala specific. Is there any "danger" in using those?