Re: [akka-user] Re: Behavior of Akka when you sleep in an actor

2015-10-17 Thread Konrad Malawski
On Thu, Oct 15, 2015 at 4:44 AM, Fahimeh Rahemi wrote: > Please let me see if I understand your answer correctly, do you mean that > if I use thread.sleep(5000) inside an actor, the actor does not leave it's > thread at all? and the thread is idle and jobless for 5

[akka-user] No Tests to run for MultiJvm

2015-10-17 Thread Harit Himanshu
Hello everyone, I started learning akka-cluster today and was trying to write the multi-ivm test. I followed all through the document but when I run my application, I see > ; reload ; clean ; compile ; multi-jvm:test [info] Loading project definition from

[akka-user] No Tests to run for MultiJvm

2015-10-17 Thread Harit Himanshu
Hello everyone, I started learning akka-cluster today and was trying to write the multi-ivm test. I followed all through the document but when I run my application, I see > ;

Re: [akka-user] Capturing the message that killed an actor

2015-10-17 Thread Viktor Klang
Arne, if 2 actors have SafeReceive, send messages to eachother and they fail on processing OperationFailed, then you have a crash loop. What behavior are you implementing? (what are you going to use the exception and message for?) -- Cheers, √ On 15 Oct 2015 22:44, "Arne Claassen"

[akka-user] Fwd: Proposed major simplification of the Akka Streams FlowGraph APIs

2015-10-17 Thread Viktor Klang
Hi everyone, I'm proposing the following (breaking) changes to the FlowGraph-related APIs, in order to make it consistent, with a smaller surface area and with more obvious demarcation of power-level for "dropping down to"/"tapping into" FlowGraph-mode. Most, if not all, of the migration can be

Re: [akka-user] Capturing the message that killed an actor

2015-10-17 Thread Arne Claassen
Viktor, Yeah, i can see a crash loop being undesirable, but it shouldn't be a problem in my scenario, since only one end is really an actor. The scenario is the following: 1. HTTP request comes into play for some analytics for a specific resource 2. The request gets routed to a persistent actor

[akka-user] Servlet and Actor

2015-10-17 Thread Joseph Mansigian
Is it possible for the same Java class to be both a servlet ( in my case a servlet interacting with embedded Jetty ) and an Akka actor. Is there example code for making such a class ? Thank you. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ:

Re: [akka-user] Servlet and Actor

2015-10-17 Thread Viktor Klang
Hi Joseph, that would not make sense as it would violate encapsulation of the Actor. What you can do however is to write a Servlet that sends messages to an Actor. On Sat, Oct 17, 2015 at 11:27 PM, Joseph Mansigian < aed.project.c...@gmail.com> wrote: > Is it possible for the same Java class to