[akka-user] Re: Using TestProbe to automate test by replying automatically just to ensure that the test goes

2016-08-07 Thread Henry Mai
> What is testActor ? There is no variable of that name? what does it represent ? testActor in the example is just some arbitrary actor that is created in the test code (not shown in the docs). It refers to the B actor in this sentence: "This code can be used to forward messages, e.g. in a

[akka-user] Re: Using TestProbe to automate test by replying automatically just to ensure that the test goes

2016-08-05 Thread Henry Mai
Defining a receive for TestProbe won't do anything. Instead take a look at Auto-Pilot for the behavior that you want: http://doc.akka.io/docs/akka/current/scala/testing.html#Auto-Pilot On Thursday, August 4, 2016 at 3:59:50 PM UTC-7, Maatary Okouya wrote: > > I am trying to get a test probe to

[akka-user] Re: Akka webscoket client support - outgoing messages

2016-06-05 Thread Henry Mai
I think you might be looking for something like this: https://github.com/playframework/playframework/blob/master/framework/src/play-streams/src/main/scala/play/api/libs/streams/ActorFlow.scala On Saturday, June 4, 2016 at 2:36:58 AM UTC-7, Marcelo Alves wrote: > > Hello, >I'm noob on Scala

Re: [akka-user] Feedback on BackoffSupervisor

2015-12-18 Thread Henry Mai
plicit messages for life cycle events. So what I'm saying, is that it may be useful to look at Erlang, which may/may not have for answers to these kinds of questions. On Friday, December 18, 2015 at 1:50:14 AM UTC-8, rkuhn wrote: > > Hi Henry, > > 18 dec 2015 kl. 07:29 skrev Henry Mai &l

Re: [akka-user] Re: Feedback on BackoffSupervisor

2015-12-17 Thread Henry Mai
ymond.r...@gmail.com > wrote: > >> Hi Patrik, >> >> Henry Mai looped me in on the existence of >> the TransparentExponentialBackoffSupervisor in akka-contrib and PR >> https://github.com/akka/akka/pull/18776 (thanks Henry!). >> I find it confusin

Re: [akka-user] Re: Feedback on BackoffSupervisor

2015-12-17 Thread Henry Mai
oin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [success] Total time: 4 s, completed Dec 17, 2015 1:09:51 PM On Thursday, December 17, 2015 at 12:55:36 PM UTC-8, Patrik Nordwall wrote: > > > > On Thu, Dec

Re: [akka-user] Re: Feedback on BackoffSupervisor

2015-12-17 Thread Henry Mai
ake > responsibility for support questions about data corruption. > tors 17 dec. 2015 kl. 22:10 skrev Henry Mai <henry@gmail.com > >: > >> That is not true. >> The default behavior to restart does not apply to custom exceptions that >> extend from Throwable