[akka-user] Re: how to extract the (json) string out of a (Akka-http) RequestEntity

2015-03-22 Thread Mohamed Ragab
Again, not necessarily the best solution but .. Note: Some of the code here is in Java, so you will need to do some digging/translation Modifying the akka.http.marshallers.jackson.Jackson (Scala) (possibly creating your own copy with the modifications) Adding the following def jsonAsString():

Re: [akka-user] [Akka Http 1.0-M4] startHandlingWith / starting server with routes

2015-03-22 Thread Magnus Andersson
Hi This issue really bit me, I was setting up an new akka-http project in Java for a colleague and we could not get it to work. I ended up created a small shim for Scala

Re: [akka-user] [Akka Http 1.0-M4] startHandlingWith / starting server with routes

2015-03-22 Thread Magnus Andersson
Oops copy paste error. Here is the gist for the shim, in case it is useful for anyone else: https://gist.github.com/magnusart/5dfb824eb66e847d1f84 Den söndag 22 mars 2015 kl. 13:40:18 UTC+1 skrev Magnus Andersson: > > Hi > > This issue really bit me, I was setting up an new akka-http project in

[akka-user] [akka-persistence-2.3.9] Saving snapshots of multiple objects

2015-03-22 Thread Amir Karimi
Hi, I have an actor with multiple states. What is the best practice to save snapshots of them: - Aggregating all states into one case class and just have a single big state object - This is hard when we have to update deeper states. Like "state.copy(innerState = state.innerState

Re: [akka-user] Akka Streams 1.0 release date?

2015-03-22 Thread Ganeshwara Putra
I'm also facing the same situation here. Personally I find that I'm going with the safer choice, i.e., prefer mature library. I would have been very interested in considering Akka Streams / HTTP had my project start 2 or 3 months later. On Thursday, 12 March 2015 21:31:54 UTC+8, Jacobus Reynek

[akka-user] Re: Cluster Metrics CPU/load reporting very inaccurate

2015-03-22 Thread Johannes Berg
Sounds good but can you please elaborate, where and when has this been fixed? If it's fixed I would like to know what I need to update. Thanks, Johannes On Saturday, March 21, 2015 at 9:01:46 PM UTC+2, 何品 wrote: > > have been fixed > 在 2015年3月20日星期五 UTC+8下午11:03:07,Johannes Berg写道: >> >> Hi! >>