Over a million developers have joined DZone.

Spring Integration 4.2 Release Candidate is Available

Learn more about the release of Spring Integration 4.2, including new features like improved security context propagation, new directory file scanner, and more.

· Integration Zone

Build APIs from SQL and NoSQL or Salesforce data sources in seconds. Read the Creating REST APIs white paper, brought to you in partnership with CA Technologies.

We are pleased to announce that the final release candidate for Spring Integration 4.2 is now available in the spring milestone repository.

Features of this release include:

Security Context Propagation

The security context can now be propagated across ExecutorChannel and QueueChannels. The framework takes care of clearing the inherited security context when the downstream flow completes.

STOMP Client Channel Adapters

STOMP client-side channel adapters based on the support in Spring Framework 4.2 are now available (the initial work announced in milestone 1 is now complete).

Metrics

MessageChannel, MessageSource and MessageHandler metrics can now be enabled independently of JMX.

File Scanner

A new directory scanner is available to more efficiently scan directory hierarchies by reacting to file system events rather than scanning the whole tree on every poll. (Requires Java 7)

Event Channel Adapters

The event channel adapters now support the new POJO ApplicationEvent support in Spring Framework 4.2.

Process Barrier

A new component has been introduced allowing an integration flow to be suspended until some asynchronous event occurs. (Sample app coming soon where we wait for RabbitMQ publisher confirms before returning an HTTP response).

Last Modified File List Filter

A common problem with polling directories is if the file producer creates the file “in-place”; the file can be picked up while it is still being written. It is generally recommended to create the file with a temporary name and rename it when it is complete. If that cannot be done, however, this new filter prevents a file from being processed until it hasn’t been modified for some time period.

Codec

A codec abstraction (including a Kryo implementation) has been introduced as an alternative to java serialization.

JMS Shared Subscriptions

JMS 2.0 shared subscriptions are now supported by the namespace, simplifying configuration when using XML.

(S)FTP improvements

Inbound channel adapters can now use an expression for the remote directory.

SOAP Action Propagation

It is now easier to implement a web service proxy using Spring Integration.

Previous Milestones

A reminder of features already announced that were in the milestone 1 and milestone 2 releases:

  • A significant overhaul of the JMX support in the framework, providing performance and other improvements when JMX is enabled
  • A mongodb metadata store
  • @SecuredChannel annotation
  • Conditional Pollers - the polling interval can be adjusted dynamically, based on the results of (or before executing) the current poll
  • Cross Origin Resource Sharing (CORS) support in the http inbound gateway
  • Zookeeper Support for leadership, locks, and metadata
  • CompletableFuture gateway method return values
  • Aggregator improvements
  • (S)FTP improvements
  • Some performance bottlenecks have been identified and corrected.

For complete contents of the milestone releases, see the JIRA release notes for M1 and M2

For complete contents of this release candidate, see the release notes.

Also refer to the reference documentation “what’s new” chapter

See the project page for links to documentation, samples and download information.

Please try out these new features and improvements; it is your last chance for feedback before the final release planned for early September, just in time for SpringOne.

Also, don’t forget to check out the recent work in the Spring Integration Extensions projects (kafka, hazlecast).

The Integration Zone is brought to you in partnership with CA Technologies.  Use CA Live API Creator to quickly create complete application backends, with secure APIs and robust application logic, in an easy to use interface.

Topics:
spring integration ,integration ,jms ,soap

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

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

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

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

{{ parent.tldr }}

{{ parent.urlSource.name }}