This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Integration 6.4.1!

TCP and UDP Support

Spring Integration provides channel adapters for receiving and sending messages over internet protocols. Both UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) adapters are provided. Each adapter provides for one-way communication over the underlying protocol. In addition, Spring Integration provides simple inbound and outbound TCP gateways. These are used when two-way communication is needed.

You need to include this dependency into your project:

  • Maven

  • Gradle

<dependency>
    <groupId>org.springframework.integration</groupId>
    <artifactId>spring-integration-ip</artifactId>
    <version>6.3.8-SNAPSHOT</version>
</dependency>
compile "org.springframework.integration:spring-integration-ip:6.3.8-SNAPSHOT"