I am able to connect to tcp and read messages with the below java code.
final InetSocketAddress remote = new InetSocketAddress(InetAddress.getByName(address), port);
final ActorRef tcp = Tcp.get(getContext().getSystem()).manager();
tcp.tell(TcpMessage.connect(remote), getSelf());
Now i need to connect plain ssl over tcp, for which I didn’t find an example. (I found some examples using TCPPipelineHandler, but it does not exist in akka 2.5.x)
It would be great if someone could provide an example to set up tcp-ssl socket using akka 2.5 version.
Many thanks