Spring Batch Releases And A New Repository

Releases | Michael Minella | July 10, 2014 | ...

Today we are pleased to announce the release of Spring Batch 3.0.1, Spring Batch Admin 1.3.0.RC1, and introduce the Spring Batch Extensions project. These releases in addition to the Spring Batch Extensions project address a number of improvements and issues.

Spring Batch 3.0.1

This release of Spring Batch consists mainly of bug fixes, however, one new feature was added: ScriptItemProcessor. This ItemProcessor implementation provides the ability to use an external or inline script to provide the logic of your processor. An example of using Groovy inline would look something like this:

public ScriptItemProcessor processor() {
    ScriptItemProcessor<String, Object> scriptItemProcessor = new ScriptItemProcessor<String, Object>();

    scriptItemProcessor.setScriptSource("item.toUpperCase();", "groovy");

    return scriptItemProcessor;

This ItemProcessor allows full support of all JSR-223 scripting options.

Spring Batch Admin 1.3.0.RC1

Spring Batch Admin 1.3.0.RC1 addresses a number of issues as well as updated it to be used with the Spring Batch 2.2.x version of the job repository and beyond. In addition to the issues addressed, we also completed a number of dependency updates to bring the project up to date from that perspective.

To support the users of Spring Batch 2.2.x, this release contains the Spring Batch Integration module and still uses Spring Integration 3. However, Spring Batch 3.0 saw us move this module to Spring Batch and so this will be the last release of Spring Batch Admin that contains this module. Going forward, users will be expected to use the version included within Spring Batch.

Spring Batch Extensions

Finally, we are happy to announce a new repository for Spring Batch, Spring Batch Extensions. This project provides a home for community contributed modules akin to Spring Integration Extensions. With this announcement, we have our first contribution, the spring-batch-elasticsearch module. This module provides an ItemReader and an ItemWriter for interacting with Elasticsearch. You can find information about this module and other contributions on Github. We look forward to future contributions from the community to help expand the available use cases for Spring Batch.

Please share your feedback on Stack Overflow, social media, and in person at SpringOne2GX!

Get the Spring newsletter

Thank you!

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all