[akka-user][deprecated] ActorPublisher / ActorSubscriber deprecated

2018-12-02 Thread Devin Carlen
Hi all, I'm trying to wrap my mind around how to use a ClusterRouterGroup with GraphStage API. I have some old code that I'd like to refactor to move away from the deprecated ActorPublisher/Subscriber APIs. The code is generally something like this: val router = ClusterRouterGroup(

[akka-user][deprecated] Re: akka-http multipart/related

2018-12-02 Thread Felix Nensa
Ok, I figured it out on my own (in Scala). val toBodyPart = (src : String) => { val file = Paths.get(src) Multipart.General.BodyPart(HttpEntity(MediaType.customBinary( "application", "dicom", MediaType.Compressible), file.toFile().length(),