[akka-user] Re: Cannot configure the Akka Http server when using the akka-http-spring-boot library

2018-02-08 Thread Som Shankar Bhattacharyya
Yes i have it in src/main/resources . Also i can see that the file is being read but still not finding the dispatcher. I feel like the library is overriding this. Have you used the library ? On Thursday, February 8, 2018 at 2:52:25 PM UTC+5:30, Som Shankar Bhattacharyya wrote: > > I am trying

[akka-user] Akka Concurrency - Trying to call actors in parallel from an actor

2018-02-08 Thread Tanmoy Bandyopadhyay
Hello, I am new to Akka. I am a bit confused with parallel Akka calls from an Akka actor. What I was trying to do is to make parallel-concurrent calls to two other actors using ask and awaiting for future to get resolved. public class Actor1 extends UntypedActor { public void onReceive(Object

[akka-user] Re: Cannot configure the Akka Http server when using the akka-http-spring-boot library

2018-02-08 Thread Rob Crawford
Just to be sure -- you have the file in "src/main/resources" rather than "src/main.resources"? On Thursday, February 8, 2018 at 4:22:25 AM UTC-5, Som Shankar Bhattacharyya wrote: > > I am trying to setup a project that runs REST services on top of a AKK > HTTP server yet managed by Spring

Re: [akka-user] Cancel Actor job

2018-02-08 Thread Johan Andrén
I'm afraid we haven't gotten to porting it to Java yet. -- Johan On Monday, February 5, 2018 at 8:40:03 AM UTC+1, Richard Gong wrote: > > Thanks Johan. It looks very good. Is there any Java version? I found one > on git hub: >

Re: [akka-user] [Akka-Streams] Want to always receive latest element in Sink

2018-02-08 Thread Johan Andrén
You should be able to allow a faster upstream to continue, while emitting the latest value whenever downstream is read with conflate like so: Source(0 to 1000) .throttle(10, 1.second, 1, ThrottleMode.shaping) // fast upstream .conflate((in, prev) => in) // keep the latest value

[akka-user] Cannot configure the Akka Http server when using the akka-http-spring-boot library

2018-02-08 Thread Som Shankar Bhattacharyya
I am trying to setup a project that runs REST services on top of a AKK HTTP server yet managed by Spring boot. Now i found this project on gihub as a reference and am using that as libraries to achieve my goal. This is the project : https://github.com/scalaspring/akka-http-spring-boot Now i