Spring Integration 2.0 GA Released |
|

I am very pleased to announce that Spring Integration 2.0 GA has been released!
Download
The distribution zip containing the Spring Integration JARs, source JARs, and documentation can be downloaded here.
Dependency Configuration
The artifacts should also be available from the Maven central repository at some point later today. In the meantime, you can add the springframework Maven repository to your POM. The following example shows a dependency on "spring-integration-core" and the springframework repository entry. If you plan to use any of our adapters, you can replace "spring-integration-core" with the appropriate adapter, e.g. "spring-integration-twitter" (and all of the adapters will pull "core" into your app as a transitive dependency):
<dependencies>
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-core</artifactId>
<version>2.0.0.RELEASE</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>repository.springframework.maven.release</id>
<name>Spring Framework Maven Release Repository</name>
<url>http://maven.springframework.org/release</url>
</repository>
</repositories>
What's New?
To learn about the new features in this version, please visit the "What's New?" section of our Reference Manual. From there you will find links to the particular chapters and sections that cover the new features. Also, you can read more about those same features in my recent blog about our 1st Release Candidate.
Those two resources should serve as a great starting point for existing 1.0 users. We will also be providing a "migration guide" within the next couple weeks. Please stay tuned, but in the meantime this blog by Roberto van der Linden of JTeam covers most of the main points.
Sneak Peek
I have a difficult time writing a blog entry without any code samples, so I figured I would give you a quick taste of one of the new features: Twitter support. In fact, I created this "application" this morning in order to monitor what the Twittersphere had to say about Spring Integration on release day. Here is the entire configuration:
<twitter:search-inbound-channel-adapter query="spring integration" channel="logger">
<poller fixed-rate="60000" max-messages-per-poll="50"/>
</twitter:search-inbound-channel-adapter>
<logging-channel-adapter id="logger" expression="payload.fromUser + ': ' + payload.text"/>
Every minute, the search is executed, and if there are any new Tweets, they are sent to the logger. The only code is the main() method used to bootstrap the Application Context:
public static void main(String[] args) {
new ClassPathXmlApplicationContext("twitter/context.xml");
}
In case you don't believe that it really is that simple
, the project is available on github. It also just happens to be nearly identical to one of the Spring Integration samples in our repository. To learn more about our samples, be sure to read Oleg's recent blog.
The Bigger Picture
Just this past week, I presented a webinar entitled "Message Driven Architecture with Spring". That included a fairly broad overview of Spring's support for Events, Messaging with both JMS and AMQP, Lifecycle Management, Asynchronous Execution, Task Scheduling and Triggers.
The recording is available here. Check it out if you want to learn as much as you can, in just one hour, about Spring Integration and how it fits within the Spring platform as a whole. It also features a couple interesting samples: the Loan Broker (inspired by the Enterprise Integration Patterns book) and the wildly popular REST/SOAP/Twitter/Email sample that Oleg and I presented at SpringOne2Gx.
The Community
Finally, I want to thank the community. We absolutely could not have done this without you. The forum activity has been steadily increasing, and it's especially nice to see members starting to answer questions for others in addition to asking them
. Overall, the feedback we received from users there and in the issue tracker have had an enormous influence on this release.
As always, you can find all the relevant links on the Spring Integration Home Page.
Enjoy!
Mark
Similar Posts
- First Eclipse Gemini Blueprint Milestone Ships
- Maven PAR Plugin 1.0.0.M1
- Migrating to Spring 3.1 and Hibernate 4.1
- Obtaining Spring 3 Artifacts with Maven
- Updated Maven Support for Android Projects





Grzegorz Grzybek says:
Added on November 23rd, 2010 at 2:00 pmCongratulations!
Spring Integration should be announced as the best EIP Book implementation. With Spring Integration I'm sure the entire Spring portfolio is the most obvious choice for enterprise Java development.
For me org.springframework is like javax.spring…
regards
Grzegorz Grzybek
Keith Donald (blog author) says:
Added on November 23rd, 2010 at 4:14 pmI wish I could "Like" Grzegorz's comment. Congratulations Mark and the Spring Integration team! Spring Integration is a joy to use and the attention to detail and care you have put into the project really shines through.
Keith
Sudhakar Ramasamy says:
Added on November 24th, 2010 at 12:23 amFor Linux users who want to view "Message Driven Architecture with Spring" webex webinar here are the steps:
1. Download the webex .arf file from here – https://vmwareevents.webex.com/ec0605l\/eventcenter\/enroll\/register.do?siteurl=vmwareevents&formId=2966542&confId=2966542&formType=1&loadFlag=1&eventType=1&accessType=downloadRecording
2. Download the NBR2MP4 Converter from here – http://support.webex.com/support/downloads.html
3. Follow the intructions on the download page for the NBR2MP4 tool to convert the downloaded .arf to a mpeg format.
luistrigueiros says:
Added on November 25th, 2010 at 6:06 amHi Mark,
Thank you I have been following up Spring Integration and your recent post and have been finding it the good content.
The user guide is very good, but needs to be more simple to get started easier.
Cheers, Oscar
Emerson Farrugia says:
Added on November 26th, 2010 at 1:43 pmCan someone at SpringSource convert the ARF file to MP4 and host it somewhere please, e.g. Youtube? All this jumping through hoops isn't very Spring-like.
qiaojun says:
Added on June 14th, 2011 at 11:25 amI use the inbound-channel-adapter to get emails, when I start a pop3 email receiver for about 20 mins then it throws IllegalStateException because of http440, login timeout. My OS is windowsXP, and the mailbox server is Microsoft Exchange.How can I solve this issue? Thank you.
Mark Fisher (blog author) says:
Added on June 14th, 2011 at 11:30 am@qiaojun: can you post that question on the Forum please?
http://forum.springsource.org/forumdisplay.php?42-Integration
We will try to reply as soon as possible there.
Thanks!
-Mark
Rakesh says:
Added on June 15th, 2011 at 12:15 amThanks for the blog on SI. Could not find any samples for JDBC calls in SI samples site. Do you have any samples for the same and share it across. We are trying to read data from DB and expose it using a WebService. Is it a good candidate for SI or traditional Spring WS ORM Framework will suffice.