[akka-user] akka-http: How do I make a simple client-side POST request?

2016-12-14 Thread oxbow_lakes
There's not one example in the docs that I can see of making a post request. How do I submit a simple form to the URL http://me.com/aForm with a single form field called "foo" which takes the value "bar"? Chris -- >> Read the docs: http://akka.io/docs/ >> Check the F

[akka-user] `ActorSystem.whenTerminated` hangs indefinitely if called from an `registerOnTermination` callback

2016-11-15 Thread oxbow_lakes
The following code: Welcome to Scala 2.12.0 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_112). Type in expressions for evaluation. Or try :help. scala> import akka.actor._; import scala.concurrent._; import duration._ import akka.actor._ import scala.concurrent._ import duration._ scala> :pas

[akka-user] There's no such thing as a permanent quarantine

2014-11-12 Thread oxbow_lakes
Hi - I'm being bitten by a client/server application where multiple clients subscribe for updates from a server where, upon a long GC pause, the clients are being quarantined. Here is some client logs for an attempt to rediscover the server actor using "server ? Identify", which times out. I

[akka-user] Re: Is ask an anti-pattern in akka actors?

2014-05-28 Thread oxbow_lakes
My main problem with the ask pattern is that it can "break code at a distance". Consider this: case object Subscribe; case class Publish(msg: Any); case class Image(state: Any) class Manager extends Actor { private var subscribers = Set.empty[ActorRef] def receive = { case Subscribe =>

[akka-user] Akka for 2.11 not easily downloadable from akka.io (and not in the claimed distribution at all)

2014-05-28 Thread oxbow_lakes
Why does the Download section of the website specify "Akka 2.3.3 (scala 2.10 *and 2.11*)" but, if you download the distribution it only has the 2.10 JARs in there? In fact, getting hold of the 2.11 JARs doesn't seem possible from akka.io/downloads at all: I'm reduced to pratting around on oss.

[akka-user] Mysterious "guardian failed: shutting down system" messages

2014-02-20 Thread oxbow_lakes
I have a client/server application and recently we have started seeing issues with clients "disconnecting" themselves from the server whilst remaining up & running and *without receiving a Terminated event* (so the client just stops receiving any messages from the server but I cannot take any a