Blogs

SpringSource Blog

Spring Integration 2.0 GA Released

Mark Fisher

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

Share this Post
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • DZone
  • LinkedIn
  • Slashdot
  • Technorati
  • Twitter
 

8 responses


  1. Congratulations!

    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


  2. I 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


  3. For 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.


  4. Hi 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


  5. Can 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. :)


  6. I 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.


  7. @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


  8. Thanks 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.

7 trackbacks

Leave a Reply