[akka-user] TestActorRef with TypedActor

2015-01-25 Thread Wojciech Pituła
Is there any way of using TestActorRef with TypedActors ? Or any other way of testing TypedActors with mocks? My problem is that with TestActorRef I can use Mockito and verify() works fine. When using TypedActor with CallingThreadDispatcher verify() works nondeterministic. -- Read the

[akka-user] Simple Akka Http GET

2015-01-25 Thread Michael De Courci
Is there a simple example of a HTTP GET call using Akka HTTP Experimental. Where the GET returns a JSON string that is converted a Scala object? -- Read the docs: http://akka.io/docs/ Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html Search the

Re: [akka-user] [akka-stream] Prebuilt Source with simple synchronous API

2015-01-25 Thread Viktor Klang
Hi Alexey, On Sat, Jan 24, 2015 at 11:20 AM, Alexey Romanchuk alexey.romanc...@gmail.com wrote: Hey hakkers, I wonder why there is not such prebuilt Source that provides API to externally emit message by simple method call. I am talking about something like this: //building and starting

[akka-user] Addressing paths to cluster peers

2015-01-25 Thread Mark Grey
Hello guys, I have a use case that is somewhat unique for akka-cluster that I'm trying to get to work. Hopefully someone can point out what I'm doing wrong. In my clustered app, an actor called an Orchestrator is started many times, once per running member node. These orchestrators are

Re: [akka-user] Cluster unreachable and a lot of cluster connections

2015-01-25 Thread Endre Varga
Hi Johannes, On Fri, Jan 23, 2015 at 8:39 AM, Johannes Berg jberg...@gmail.com wrote: Thanks for the answers, this really explains a lot. I will go back to my abyss and rethink some things. See below some answers/comments. On Thursday, January 22, 2015 at 6:31:01 PM UTC+2, drewhk wrote: Hi

Re: [akka-user] Cluster unreachable and a lot of cluster connections

2015-01-25 Thread Johannes Berg
No problem, I've created an issue in regards to the documentation here: https://github.com/akka/akka/issues/16717 On Friday, January 23, 2015 at 3:15:03 PM UTC+2, Patrik Nordwall wrote: Johannes, I think you have some very good points regarding the documentation. Would you mind creating an

Re: [akka-user] What is the best practice enforce Type Check for Actor during compilation

2015-01-25 Thread Sean Zhong
Thanks, The akka-typed https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fakka%2Fakka%2Fpull%2F16665sa=Dsntz=1usg=AFQjCNGA-XEDn6qAZsuXDu7o-8ayLGXjYw PR is exactly what I want. On Friday, January 23, 2015 at 11:44:25 PM UTC+8, Martynas Mickevičius wrote: Hi Sean, a good practice to

[akka-user] An updated tutorial for 2.3 version API?

2015-01-25 Thread Atom Cong
Hi, guys, I am new to akka and trying to learn by going through the tutoprial here: http://doc.akka.io/docs/akka/2.0.2/intro/getting-started-first-java.html Trying to make the tutorial work but could't, most likely some of the API in the tutorial (which is for 2.0.2 version) are now

Re: [akka-user] An updated tutorial for 2.3 version API?

2015-01-25 Thread Konrad Malawski
Hello there! There isn't an 1:1 update of that page for 2.3.x but you may simply want to follow the introduction chapter http://doc.akka.io/docs/akka/2.3.9/intro/index-java.html of the docs section by section :-) * http://doc.akka.io/docs/akka/2.3.9/intro/getting-started.html - for setup help *

[akka-user] Re: Simple Akka Http GET

2015-01-25 Thread Łukasz Sowa
Hi, There's an example of GET and unmarshalling to an instance of a case class in my akka-http microservice example project. Check it out: https://github.com/theiterators/akka-http-microservice/blob/master/src/main/scala/AkkaHttpMicroservice.scala#L67 Best, Łukasz Sowa W dniu niedziela, 25