Spring Integration 4.2 Milestone 2 is Available (and 4.1.6)
The second milestone for the upcoming 4.2 release of Spring Integration is now available. Apache Zookeeper support is the biggest new feature!
Join the DZone community and get the full member experience.Join For Free
Originally written by Gary Russell on the Spring blog
We are pleased to announce that the second milestone for the upcoming 4.2 release of Spring Integration is now available. In addition to those features in milestone 1 this release includes:
Several components have been added that use zookeeper, including a
MetadataStore but probably the most significant is the ability to assign endpoints to a leadership
Role, with the endpoint lifecycle being controlled by the leadership status. When an application context is granted leadership, all endpoints in the corresponding role are started automatically. Similarly when leadership is revoked, the endpoints are stopped.
This can be useful for configuring a hot-standby instance of an application.
When running with Java 8, gateway methods can now return
It is now possible to more easily configure an
aggregator as a message barrier where, when the message group is released (due to completion or timeout), each message is released individually rather than as a collection.
The SFTP and FTP outbound gateways now support the
-stream option when
geting files and the message payload is an
InputStream allowing direct streaming of the remote file. When using this feature for a text file, in conjunction with a
<int-file:splitter/>) each line can be processed individually without copying the file to local disk.
Some performance bottlenecks have been identified and corrected.
As a reminder, the Apache Kafka extension now supports version 0.8.2 of kafka.
SpringOne 2GX 2015 is Around the Corner!
Book your place at SpringOne2GX in Washington, DC soon. Super Early Bird Price expires June 12th! It’s simply the best opportunity to find out first hand all that’s going on and to provide direct feedback.
Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.