It also may be helpful to check this blog post http://blog.scalac.io/2015/07/30/websockets-server-with-akka-http.html and its source code https://github.com/ScalaConsultants/wsug-akka-websockets
On Tuesday, February 23, 2016 at 3:33:18 PM UTC+3, Guido Medina wrote: > > Hi, > > Has anyone been able to write an Akka HTTP websockets server that > delegates/relays the established connection to an existing or newly created > actor? > where messages sent from that connection comes to an actor and messages to > another actor? (I'm not sure how is this done behind the scenes if 1 or 2 > actors for Source/Sink) > > I was given this example > https://github.com/johanandren/scala-stockholm-cluster-message-broker/blob/solution/src/main/scala/WebServer.scala > But I can't make reproduce that code in Java so I'm stuck. > > I have been wanting/asking this since version 1.0 of Akka HTTP, am I blind > or something that can't figure this out? > It makes me wonder if Java is that helpless in the Akka world. > > Any Java example even pieces that can lead me to it will be of great help, > > Guido. > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
