This section details the compatible Java and Spring Framework versions.

1 Compatible Java Versions

For Spring Integration 4.2.x, the minimum compatible Java version is Java SE 6. Older versions of Java are not supported.

Spring Integration 4.2.x is also compatible with Java SE 7 as well as Java SE 8.

Certain features (such as Optional<?> payloads and CompletableFuture gateway method return types) require Java 8.

While the jars are compatible with Java 6, Java 8 is required to build the project. see Checking out and Building.

2 Compatible Versions of the Spring Framework

Spring Integration 4.2.x requires Spring Framework 4.2.0 or later.

3 Code Conventions

The Spring Framework 2.0 introduced support for namespaces, which simplifies the Xml configuration of the application context, and consequently Spring Integration provides broad namespace support. This reference guide applies the following conventions for all code examples that use namespace support:

The int namespace prefix will be used for Spring Integration’s core namespace support. Each Spring Integration adapter type (module) will provide its own namespace, which is configured using the following convention:

int- followed by the name of the module, e.g. int-twitter, int-stream, …

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""

For a detailed explanation regarding Spring Integration’s namespace support see Section F.2, “Namespace Support”.


Please note that the namespace prefix can be freely chosen. You may even choose not to use any namespace prefixes at all. Therefore, apply the convention that suits your application needs best. Be aware, though, that SpringSource Tool Suite™ (STS) uses the same namespace conventions for Spring Integration as used in this reference guide.