You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (Created JIRA)" <ji...@apache.org> on 2011/12/14 19:31:31 UTC

[jira] [Created] (CAMEL-4778) Upgrade Sring to 3.1.0.RELEASE

Upgrade Sring to 3.1.0.RELEASE
------------------------------

                 Key: CAMEL-4778
                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
             Project: Camel
          Issue Type: Task
    Affects Versions: 2.8.3, 2.9.0
            Reporter: Christian Müller


We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.

See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226515#comment-13226515 ] 

Christian Müller commented on CAMEL-4778:
-----------------------------------------

JB, do you expect problems when we upgrade Camel 2.10.0 to Spring 3.1.0 (and deploy it into Karaf 2.2.x)?
Because Camel leverage on the Karaf Spring feature, it will use Spring 3.0.x when running inside Karaf 3.0x and Spring 3.1.x when running in Karaf 3.0.x. 

IMO, when we can upgrade to Spring 3.1.0 without any modification, it should not a problem...
                
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "David Valeri (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236535#comment-13236535 ] 

David Valeri commented on CAMEL-4778:
-------------------------------------

I did a little more digging and it turns out that my earlier conclusion was based on some bad observations in Eclipse.  It turns out that the only real issue is how Maven wants to do the build.  Maven wants one version of Spring on the classpath.  If we implement the new method needed to move to Spring 3.1, the camel-spring-test library compiled against 3.1 will work with client code using Spring 3.0 on its classpath.  This binary compatibility for client code means that the only issue is compiling the Spring 3.1 compatible camel-spring-test JAR against the Spring 3.0 JARs.  This feat won't be possible due to the aforementioned Maven behavior.

We need a way to compile the camel-test-spring module against Spring 3.1 but run the tests against Spring 3.1 and Spring 3.0.  I can think of some ways to achieve that, but they are a little bit messy.  Is there a clean way to get Maven to support this use case?


We also need to update the documentation to say from 2.11 or 3.0 onwards or export the documentation for later use.  The Camel 3 stuff is still up in the air so do you have a roadmap for Spring 3.0 support deprecation?
                
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "David Valeri (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238344#comment-13238344 ] 

David Valeri commented on CAMEL-4778:
-------------------------------------

Let me know if anything doesn't pass in camel-test-spring or camel-testng since I added Spring Test support in both of those modules.

Also let me know when you push your changes up so I can review the method implementation you added.
                
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Babak Vahdat (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174729#comment-13174729 ] 

Babak Vahdat commented on CAMEL-4778:
-------------------------------------

To avoid the usage of any deprecated API in 3.1.x IMHO this would also require a huge refactoring in camel-jpa and also some other corners as well, as since the 3.1 RC1 release the JpaTemplate/JpaInterceptor/JpaDaoSupport and JdoTemplate/JdoInterceptor/JdoDaoSupport are *all* deprecated!

There're a bunch of places on the Web like [1] which explain this change since the 3.1.x branch.

But maybe we want to postpone the cleanup of the deprecated API usage to later and not necessarily do it in the context of this ticket.

[1] http://www.javaworld.com/community/node/8245

                
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227893#comment-13227893 ] 

Christian Müller commented on CAMEL-4778:
-----------------------------------------

Claus, do you think the Spring guys will fix this? I think introducing binary incompatibility in a minor version is not a "no go", IMO. It's only bad for us...
                
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227034#comment-13227034 ] 

Christian Müller commented on CAMEL-4778:
-----------------------------------------

I found the following incompatibilities between Spring 3.0 and Spring 3.1 which we have to fix:
- org.apache.camel.test.spring.CamelSpringTestContextLoader extends org.springframework.test.context.support.AbstractContextLoader. AbstractContextLoader implements org.springframework.test.context.SmartContextLoader (a new interface since 3.1) which adds the new method "ApplicationContext loadContext(MergedContextConfiguration mergedConfig)" which is not implemented by AbstractContextLoader.
                
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Christian Müller (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Müller updated CAMEL-4778:
------------------------------------

    Summary: Upgrade Spring to 3.1.0.RELEASE  (was: Upgrade Sring to 3.1.0.RELEASE)
    
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "Christian Müller (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Müller updated CAMEL-4778:
------------------------------------

    Summary: Upgrade Spring to 3.1.1.RELEASE  (was: Upgrade Spring to 3.1.0.RELEASE)
    
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "Christian Müller (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Müller resolved CAMEL-4778.
-------------------------------------

    Resolution: Fixed

camel-test-spring will be always compiled with Spring 3.1. It's possible to use it with Spring 3.0 because the methods we use didn't changed.
                
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Issue Comment Edited] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "David Valeri (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238344#comment-13238344 ] 

David Valeri edited comment on CAMEL-4778 at 3/26/12 1:04 PM:
--------------------------------------------------------------

Let me know if anything doesn't pass in camel-test-spring or camel-testng since I added Spring Test support in both of those modules.

Also let me know when you push your changes up so I can review the method implementation you added.

EDIT: I see you already pushed the changes up.  There is a one line difference between the two method implementations in the super class.  The extra line supports a Spring Test feature and not a Camel related feature so it wouldn't show up in our unit tests.  I will update the code and re-open CAMEL-4987 for now.
                
      was (Author: davaleri):
    Let me know if anything doesn't pass in camel-test-spring or camel-testng since I added Spring Test support in both of those modules.

Also let me know when you push your changes up so I can review the method implementation you added.
                  
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "Christian Müller (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Müller reassigned CAMEL-4778:
---------------------------------------

    Assignee: Christian Müller  (was: Jean-Baptiste Onofré)
    
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227248#comment-13227248 ] 

Christian Müller commented on CAMEL-4778:
-----------------------------------------

I think because of this new class "org.springframework.test.context.MergedContextConfiguration" which is now (with Spring 3.1) part of "org.springframework.test.context.support.AbstractContextLoader", we cannot support Spring 3.0 or 3.1.

Any suggestions?
                
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237911#comment-13237911 ] 

Christian Müller commented on CAMEL-4778:
-----------------------------------------

I'm wondering what the default should be: Spring 3.1 or Spring 3.0...
At present, the default is still Spring 3.0.
                
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236521#comment-13236521 ] 

Christian Müller commented on CAMEL-4778:
-----------------------------------------

Yes, that's what I mean. Sorry for the unclear comment in my last post - I need some more sleep in these busy days... ;-)

In the meantime, I reverted the relevant changes and running the unit tests on my box. If they succeed, I will commit it and kick on the Jenkins builds for Spring 3.1 und 3.0. I also plan to attach the revert diff of this change to CAMEL-4987. May be this will make it easier to apply it later in Camel 2.11.0 or 3.0.0 (I really like this change).
                
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237828#comment-13237828 ] 

Christian Müller commented on CAMEL-4778:
-----------------------------------------

+1
I did the following changes:
- revert my last revert ;-)
- implemented the new required method to be able to compile camel-test-spring with Spring 3.1
- stick camel-test-spring to Spring 3.1 (this should not be a problem)
- build all other components with Spring 3.0 or Spring 3.1

I think with this we are able to support Spring 3.0 and 3.1 *AND* the new first class support using Spring test based unit tests

My build is running. Keep you posted...
                
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "David Valeri (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235988#comment-13235988 ] 

David Valeri commented on CAMEL-4778:
-------------------------------------

Christian,

Just to be clear, you intend to keep camel-test-spring and its existing Spring test support through the CamelTestSupport classes but to roll-back the changes from CAMEL-4987 only?

I looked into this issue and concur that there is no straightforward way to work with Spring Test 3.1 and 3.0, short of having two modules in our code base, duplicating Spring code in our code base (Removing AbstractContextLoader from the hierarchy), getting Spring to remove final from the loadContext method declarations in AbstractContextLoader, or doing selective compilation.

I implemented the changes needed to compile with 3.1 locally and confirmed that the tests still pass.  So the code in question can definitely support 3.1 when the time comes.
                
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "Hadrian Zbarcea (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea updated CAMEL-4778:
-----------------------------------

    Fix Version/s: 2.10.0
    
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>              Labels: spring
>             Fix For: 2.10.0
>
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196010#comment-13196010 ] 

Jean-Baptiste Onofré commented on CAMEL-4778:
---------------------------------------------

I tested to update to Spring 3.1.0.RELEASE and it works without problem.

Karaf 3.0 will also provide the Spring 3.1.0.RELEASE features, but I wonder if it doesn't make sense to update to Spring 3.1.0.RELEASE also in Karaf 2.2.x.
                
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Issue Comment Edited] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "David Valeri (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235988#comment-13235988 ] 

David Valeri edited comment on CAMEL-4778 at 3/22/12 8:31 PM:
--------------------------------------------------------------

Christian,

Just to be clear, you intend to keep camel-test-spring and its existing Spring test support through the CamelTestSupport classes but to roll-back the changes from CAMEL-4987 only?

I looked into this issue and concur that there is no straightforward way to work with Spring Test 3.1 and 3.0, short of having two modules in our code base, duplicating Spring code in our code base (Removing AbstractContextLoader from the hierarchy), or doing selective compilation.

I implemented the changes needed to compile with 3.1 locally and confirmed that the tests still pass.  So the code in question can definitely support 3.1 when the time comes.
                
      was (Author: davaleri):
    Christian,

Just to be clear, you intend to keep camel-test-spring and its existing Spring test support through the CamelTestSupport classes but to roll-back the changes from CAMEL-4987 only?

I looked into this issue and concur that there is no straightforward way to work with Spring Test 3.1 and 3.0, short of having two modules in our code base, duplicating Spring code in our code base (Removing AbstractContextLoader from the hierarchy), getting Spring to remove final from the loadContext method declarations in AbstractContextLoader, or doing selective compilation.

I implemented the changes needed to compile with 3.1 locally and confirmed that the tests still pass.  So the code in question can definitely support 3.1 when the time comes.
                  
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238566#comment-13238566 ] 

Christian Müller commented on CAMEL-4778:
-----------------------------------------

Ok, thanks for having a look at it. Go ahead with your changes...
                
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.1.RELEASE

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235488#comment-13235488 ] 

Christian Müller commented on CAMEL-4778:
-----------------------------------------

I added a "spring3.1" feature and set up a new Jenkins build for it.
I expect the build will fail in camel-test-spring but I'm interested in to see if this is the only issue.

If this is the case, I propose to revert the changes for camel-test-spring (it's a new component in Camel 2.10.0) because I think supporting Spring 3.1 is much more requested. In this case, I will reopen the issue which with David add camel-test-spring and attach a patch so that it's easy for us to apply it later (when we got this component working with Spring 3.0 or we drop the support for Spring 3.0 in Camel 2.11.0/3.0.0).

Doubts?
                
> Upgrade Spring to 3.1.1.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174719#comment-13174719 ] 

Jean-Baptiste Onofré commented on CAMEL-4778:
---------------------------------------------

This update require in update in Karaf (as Camel uses the Spring Karaf features).
                
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227399#comment-13227399 ] 

Claus Ibsen commented on CAMEL-4778:
------------------------------------

I suggest to log a JIRA at SPR to tell them about this binary incompatibility they introduced between 3.0 and 3.1.
                
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (CAMEL-4778) Upgrade Spring to 3.1.0.RELEASE

Posted by "Jean-Baptiste Onofré (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned CAMEL-4778:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> Upgrade Spring to 3.1.0.RELEASE
> -------------------------------
>
>                 Key: CAMEL-4778
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4778
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Christian Müller
>            Assignee: Jean-Baptiste Onofré
>              Labels: spring
>
> We should consider to upgrade to Spring 3.1.0.RELEASE in Camel 2.10.0 or 3.0.0 depending on the backwards compatibility of Spring.
> See: http://static.springsource.org/spring/docs/3.1.0.RELEASE/changelog.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira