This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Integration 7.0.4!spring-doc.cn

What’s New?

For those who are already familiar with Spring Integration, this chapter provides a brief overview of the new features of version 7.1.spring-doc.cn

If you are interested in the changes and features that were introduced in earlier versions, see the Change History.spring-doc.cn

What’s New in Spring Integration 7.1?

For more details, see the GitHub Issues that were resolved as part of the 7.1 development process.spring-doc.cn

In general, the project has been moved to the latest dependency versions. Java 17 is still the baseline, but Java 25 is supported.spring-doc.cn

New Components

CloudEvents Support

The new spring-integration-cloudevents module has been introduced to support CloudEvents specification. See CloudEvents Support for more information.spring-doc.cn

gRPC Support

The new spring-integration-grpc module has been introduced to support gRPC framework. See gRPC Support for more information.spring-doc.cn

General Changes

The MessageTransformingHandler.requiresReply flag cannot be modified: an UnsupportedOperationException is thrown from the overridden setRequiresReply() method to indicate the transformer pattern cannot produce nulls for replies. See Transformer for more information.spring-doc.cn

Web Services Support Changes

The Web Services Outbound Gateway now can rely on the provided WebServiceTemplate.defaultUri. See Web Services Support for more information.spring-doc.cn

Testing Support Changes

The TestUtils.getPropertyValue() with a Class<?> argument has been deprecated in favor of the change on the overloaded method from an Object return type to the generic argument. This gives a flexible casting of the extracted value to the expected type in tests logic. See Testing support for more information.spring-doc.cn

Redis Support Changes

The RedisMessageStore.doRemove now uses GETDEL instead of GET + UNLINK for Redis 6.2+ by default. Use RedisMessageStore.setUseUnlink(true) to use GET + UNLINK when atomicity is not required and GETDEL causes noticeable Redis latency. See Redis Support for more information.spring-doc.cn

JMS Support Changes

JMS-backed message channels now map headers to JMS message properties and back. See JMS Support for more information.spring-doc.cn

HTTP Support Changes

The HttpRequestExecutingMessageHandler (its XML and Java DSL) now can be used with a RestClient. The RestTemplate configuration is deprecated. See HTTP Support for more information.spring-doc.cn