[ 
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] [Issue Comment Edited] (... David Valeri (Issue Comment Edited) (JIRA)

Reply via email to