Re: [akka-user] Re: withSupervisionStrategy passed a japi Function but compiler complains that its expecting a scala Function1

2016-10-26 Thread murtuza chhil
Though my code is not HTTP related, so whatever is fixed will fix my problem too , right? -chhil On Wednesday, October 26, 2016 at 6:08:21 PM UTC+5:30, murtuza chhil wrote: > > Thanks Konrad. > > -chhil > > > On Wednesday, October 26, 2016 at 6:01:34 PM UTC+5:30, Kon

Re: [akka-user] Re: withSupervisionStrategy passed a japi Function but compiler complains that its expecting a scala Function1

2016-10-26 Thread murtuza chhil
i > Akka <http://akka.io> @ Lightbend <http://lightbend.com> > > On 26 October 2016 at 13:29:52, murtuza chhil (chi...@gmail.com > ) wrote: > > Still looking for an answer to this, if anyone can point out whats wrong > and how to get it done. > I was looki

[akka-user] Re: withSupervisionStrategy passed a japi Function but compiler complains that its expecting a scala Function1

2016-10-26 Thread murtuza chhil
#akka-http-2-4-11-3-0-0 "The Java DSL for the following directives pathPrefixText, rawPathPrefixTest, rawPathPrefix, pathSuffix accidentally used the Scala function type instead of the java.util.function.Function" -chhil On Thursday, October 20, 2016 at 10:33:03 PM UTC+5:30, murtuza c

[akka-user] withSupervisionStrategy passed a japi Function but compiler complains that its expecting a scala Function1

2016-10-20 Thread murtuza chhil
Having trouble setting up withSupervisionStrategy for the materializer. I get a compile time error of Error:(30, 23) java: no suitable method found for withSupervisionStrategy(akka.japi.function.Function) method

[akka-user] [akka-streams-java] Exception in completionstage handling disappears without a trace

2016-10-17 Thread murtuza chhil
Hi, Just some simple java code to learn some basics of materialized values. There is an intentional error in the code snippet in the String.format that uses an invalid %l which actually throws an exception but nothing gets printed in the console. What exactly is happening and how does one

Re: [akka-user] Basic Akka stream server not receiving data sent by client

2016-08-19 Thread murtuza chhil
se option or its done behind the scenes or its an older version of akka that allows it? -chhil On Friday, August 19, 2016 at 2:54:36 PM UTC+5:30, Akka Team wrote: > > > > On Sun, Aug 14, 2016 at 2:18 PM, murtuza chhil <chi...@gmail.com > > wrote: > >> Hi, >>

[akka-user] Re: Access Denied Downloading standalone akka_2.11-2.4.9-RC2.zip

2016-08-15 Thread murtuza chhil
Its working now. -chhil On Monday, August 15, 2016 at 8:56:37 AM UTC+5:30, murtuza chhil wrote: > > Hello, > > Get an error downloading latest standalone release from page > http://akka.io/downloads/ > > The zip downlod link is > > http://downloads.typesafe.com/a

[akka-user] Basic Akka stream server not receiving data sent by client

2016-08-14 Thread murtuza chhil
Hi, I have a simple client that reads a csv file and send it across. When I have a netcat server I can see the data come through. However when I have a Akka stream based server I do see the connection but I don't see the data come through. Could someone be kind enough to let me know where I

[akka-user] Re: explanation of pickMaxOfThree

2016-08-05 Thread murtuza chhil
Hi Gitted, I am a newbie and not much of a scala guy The example referenced is for producing the largest of the 3 numbers input. zip1's zipwith is using 2 of the 3 numbers as input and producing one output that is the larger of the 2 numbers. zip2's zipwith is going to use the third

[akka-user] Re: Akka Java TCP client , Sink.ignore()

2016-08-01 Thread murtuza chhil
> should be fine (it will accept but discard any data from the server). > > -- > Johan > Akka Team > > On Friday, July 29, 2016 at 12:48:52 PM UTC+2, murtuza chhil wrote: >> >> >> Hi, >> >> I am an Akka newbie trying to get my head around streams. >&g

Re: [akka-user] Re: [akka-streams] Trying to mimic socket level programming , connect client and then send data if connection is available

2016-08-01 Thread murtuza chhil
t has > signalled the data. > Simply put a Source.maybe behind it (a.concat(b)) or use a different > source, like unfold or an iterator). > > -- > Konrad `ktoso` Malawski > Akka <http://akka.io> @ Lightbend <http://lightbend.com> > > On 1 August 2016 at 11:

[akka-user] Re: [akka-streams] Trying to mimic socket level programming , connect client and then send data if connection is available

2016-08-01 Thread murtuza chhil
as much of the streams docs as you can to get a good > understanding of how Akka Streams work, trial and error with streams + tcp > will hurt! > > -- > Johan > Akka Team > > On Monday, August 1, 2016 at 7:20:23 AM UTC+2, murtuza chhil wrote: >> >> Hello, >&g

[akka-user] [akka-streams] Trying to mimic socket level programming , connect client and then send data if connection is available

2016-07-31 Thread murtuza chhil
Hello, I am a newbie trying to understand Akka Streams. Coming from regular socket programming I am trying to mimic a client connection and have the following runnable graph. Flow flow = Tcp