Hi Maxim, could you please minimize the problematic code into a self-contained, no extraneous pieces, snippet?
On Mon, Jul 6, 2015 at 9:55 PM, Maxim Korolyov <[email protected]> wrote: > Hey, i was playing with akka stream and akka http and faced and issue, > when source created as ActorPublisher doesn't publish any data to source. > i have verified that `onNext` method of ActorPublisher is invoking and > that the source is empty by adding a logging flow like this > source.via(Flow[String]{s > => println(s);s} > > Have any one faced this? > > > there is a link to the code <http://github.com/mkorolyov/akka-streams>. > In two words it is an websocked endpoint which expects in request message > json string {"isoCode":"USD"} and serves realtime currency rates updates + > optionally history of rates by currency code. I am creating an ` > actualSource` from the ActorPublisher and concatenating it with history > source from DB in CurrecnyService.scala. Concatenated source is > transferred as chucked message to websocket channel. > > Appreciate for any advise. > > Thanks > > -- > >>>>>>>>>> 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 http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Cheers, √ -- >>>>>>>>>> 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 http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
