How do I setup TCPConnectionFactory or SSLServerSocketFactory from Java in Spring Boot

Viewed 570

I am new to Spring Boot but have been requested by my job to implement a small web service using spring boot.

The web service needs to accept SSL TCP connections (an external system will connect to my web service using a custom protocol - NOT HTTP). Also, I would like to handle these connections in a background task (or multiple background tasks).

After looking at the official documentation (http://docs.spring.io/spring-integration/reference/html/ip.html), I still don't understand (where do I place all that XML). When I asked on SO about where to place that XML, I was answered that this is a very old method of configuration and should not be used anymore.

What would be the "up-to-date" way to do this ?

1 Answers
Related