Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Spring Integration 4.2 Milestone 2 is Available (and 4.1.6)

DZone's Guide to

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!

· Java Zone
Free Resource

In the complimentary O’Reilly eBook, Migrating to Cloud-Native Application Architectures, Pivotal’s Matt Stine examines the cultural, organizational, and technical changes necessary to migrate traditional monolithic applications and service-oriented architectures to cloud-native architectures.

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:

Zookeeper Support

Several components have been added that use zookeeper, including a LockRegistry and 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.

CompletableFuture

When running with Java 8, gateway methods can now return CompletableFuture<?>.

Aggregator

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.

(S)FTP

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 FileSplitter (<int-file:splitter/>) each line can be processed individually without copying the file to local disk.

Performance Improvements

Some performance bottlenecks have been identified and corrected.

See the release notes for complete information and the project page for documentation and download details.

As a reminder, the Apache Kafka extension now supports version 0.8.2 of kafka.

The 4.1.6.RELEASE containing a few bug fixes and minor improvements is also available in the spring repo and will be in maven central shortly.

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.

In this complimentary eBook, you will find a migration cookbook, with recipes for decomposing monolithic applications into microservices, implementing fault-tolerant patterns, and performing automated testing of cloud-native services.

Topics:
java ,spring

Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}