Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Choosing between SI-1.0.x and 2.0

  1. #1

    Default Choosing between SI-1.0.x and 2.0

    Hello.

    I have to decide which version to use for a new project. It is going to be in production in a half year from now. On one hand, the released version of SI is 1.0.3 and it has everything I need for a project. On the other I'd prefer to use Spring 3.0 from the beginning. Can SI-1.0.3 be used with Spring 3.0? How stable is SI-2.0 M1? Do you think SI-2.0 GA can be released before May?

    Thank you!

  2. #2
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    Yes, we are planning to release 2.0 before May.
    SI 1.0.3 was tested with Spring 3.0 as well. At the time it was a milestone build, but should work.
    Cheers

  3. #3
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    Also, after 3.0 Final is released, we'll test with 1.0.3 again, and if there are any issues, we'll get 1.0.4 out pretty quickly.

  4. #4

    Default

    So I understand that the recommendation is to use SI 1.0.3 and core 3.0. Right?

  5. #5
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    I wouldn't go as far as saying that this is "recommendation", but the obvious fact is:
    1.0.3 is GA Release, while 2.0 is in its milestones and things obviously could change, however we are planning to include a lot of cool features (e.g., use of SPEL for configuring routers, filters etc... as well as enhanced OSGi support) you might want to start using.
    So it depends on how much risk are you willing to take. . .
    What I would say is that 1.0.3 is a safer approach

  6. #6
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    It's funny I was just about to post my reply below when Oleg's response appeared. I think we are saying similar things....

    Of course there are also reasons to consider 2.0 since several new features will be available there - especially those which take full advantage of Spring 3.0 *within* Spring Integration. In other words, rather than just being "compatible" with a 3.0 dependency, SI 2.0 will provide a lot of opportunities for using Spring 3. 0 features (SpEL, REST support, new Task scheduling abstraction, etc.).

    On one hand, you might have a slightly bumpier ride since changes in the milestone phases are not always restrained by 100% backwards compatibility. That gives us flexibility to innovate. On the other hand, that price might we worth paying if you would like to help influence that innovation through your feedback as a user. As you know, we're very receptive to such feedback.

    So, it probably sounds like I'm avoiding a strong recommendation either way That's because there are tradeoffs. If possible, it would be nice to have a simple flag in your build (e.g. spring-integration.version in maven properties) so that you could easily switch between the two. Of course, that would make it difficult to take advantage of new features, but maybe you could stay on the conservative side at first knowing that it will be easy to switch when we get to a later milestone or release-candidate.

    Hope that helps a bit.
    -Mark

  7. #7

    Default

    Thank you for the insights!

  8. #8
    Join Date
    Oct 2008
    Location
    Poland, Wrocław
    Posts
    424

    Default

    Hi

    About Spring 3.0 - Spring-Int 1.0.3 compatibility: I'm using Spring-Int 1.0.3 and without any problems I've changed dependency from Spring 2.5.6 to 3.0.0.M3 (then RC1 and then RC2) in rather critical project working in production environment. Everything that had to be changed was some Jdbc and Transaction Templates to get rid of warnings connected with generics.

    Plus when all you need, Spring-Int 1.0.3 offers I recommend this (my) combination. When Spring-Int 2.0.0 is released you'll sure have no problems migrating.
    I've done this many times with Spring - one project was created with Spring 1.0.x and now is working with Spring 3.0.0.RC2 - the only change was the way classes are defined in ResourceBundleViewResolver.

    best regards
    Grzegorz Grzybek

  9. #9
    Join Date
    Aug 2009
    Posts
    9

    Smile

    I am currently investigating this for an important system in our infrastructure. Spring Integration is perfect for our needs (thanks!).

    We have a lot of REST calls going out from multiple endpoints and I'd really like to use the REST support from Spring 3.0 to save having to rewrite it down the line. Is Spring Integration 2.0 likely to be stable enough in the next few months to use in a production system?

    I will probably have to be conservative as I would guess you don't want to give any guarantees, in which case do you think it would be possible to use SI 1.0.3 with Spring Core 3.0 and write our own endpoints for Spring 3.0 REST support?

    Thanks,
    Paul

  10. #10
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    Paul

    There will be a release of SI 2.0 in the next 2 month, probably earlier. There is not much of a change to the existing functionality, minor improvements to the existing code. Most of what is going on are new features(e.g., use of SpEL) and adapters (e.g., TCP/UDP) and more, so I am pretty sure that it will be as stable as 1.0.3, but then again everything in this world is relative

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •