On Sat, 29 Sep 2012 23:21:29 +0200, Kevin Wright
<[email protected]> wrote:
Talking about "exchange of messages", I'm assuming you mean actors and
not
agents (which are a distinct concept).
Yes, sorry, I meant actors. Please forgive me in this period if I write
this in place of that, but I'm suffering insomnia since a few weeks and
I'm not at 100%. :-(
The usual approach is to use a
`TestActorRef` which then forces everything to be
synchronous/deterministic
and gives you access to the guts of the underlying actor implementation.
Doc for scala is here:
http://doc.akka.io/docs/akka/2.0.3/scala/testing.html
Surprisingly, this is one area where Akka doesn't provide an equivalent
page for Java. The ideas should be directly translatable to Java though.
As for community, Akka's is perhaps the most friendly of any in the Scala
ecosystem. Please don't hold back from asking even very-beginner-level
questions there. It might also be a good place to ask about
Java-oriented
documentation for the Akka test kit :)
Ok, you convinced me. I'll just wait until I resume sleeping normally ;-)
--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
"We make Java work. Everywhere."
http://tidalwave.it/fabrizio/blog - [email protected]
--
You received this message because you are subscribed to the Google Groups "Java
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/javaposse?hl=en.