Re: [akka-user] how to enable secure tcp socket connection on server side in Akka

2016-12-29 Thread Gaurav Kumar Jayswal
Thanks Rafał, Sure i'll go through Akka Stream... On Wednesday, 28 December 2016 22:04:21 UTC+5:30, Rafał Krzewski wrote: > > Gaurav, as Roland wrote above, you cannot just "enable it" in current > version of Akka. You need to combine a few components provided by > akka-streams module to create

Re: [akka-user] how to enable secure tcp socket connection on server side in Akka

2016-12-28 Thread Rafał Krzewski
Gaurav, as Roland wrote above, you cannot just "enable it" in current version of Akka. You need to combine a few components provided by akka-streams module to create an SSL-enabled client or server. Also, you will need to learn the concepts behind Akka Streams because they are very different

Re: [akka-user] how to enable secure tcp socket connection on server side in Akka

2016-12-28 Thread Gaurav Kumar Jayswal
Hi Roland, I didn't get a way to enable secure TCP socket connection. Can you plz share me some snap of code that how to enable tls in tcp message bind? Regards Gaurav On Friday, 30 September 2016 11:33:23 UTC+5:30, rkuhn wrote: > > The library you’re looking for is Akka Streams, not bare

Re: [akka-user] how to enable secure tcp socket connection on server side in Akka

2016-09-30 Thread Roland Kuhn
The library you’re looking for is Akka Streams, not bare Akka IO. Coming from Mina you might want to read http://doc.akka.io/docs/akka/2.4/java/stream/stream-composition.html about how protocol pipelines are expressed.

Re: [akka-user] how to enable secure tcp socket connection on server side in Akka

2016-09-29 Thread Gaurav Kumar Jayswal
Thanks for you reply. I'm new in akka. I didn't get how to enable secure tcp chat server, while binding. Can you plz give some example code... Tcp.get(getContext().system()).manager().tell(TcpMessage.bind(getSelf(), inetSocketAddress, 100), getSelf()); On Thursday, 29 September 2016 17:01:47

[akka-user] how to enable secure tcp socket connection on server side in Akka

2016-09-29 Thread Gaurav Kumar Jayswal
In Mina Simply I have added by this. private static void addSSLSupport(DefaultIoFilterChainBuilder chain) throws Exception { SslFilter sslFilter = new SslFilter(new SSLContextGenerator().getSslContext()); chain.addFirst("sslFilter", sslFilter); } Can anyone let me know how to add