Hi JB,

To be honest I'm a lit bit concern about this solution.
If Karaf 2.2.4 ship spring 3.0.6 anyway, even it cover all spring related bundles, and camel can refer those spring features using version range(it might be ok during resolve, but don't forget cxf 2.4.2 features.xml still have srping-jms(3.0.5) feature directly and it's not from karaf, :-)), however it still means the OSGi container provided spring version is 3.0.6, but the cxf(2.4.2) and camel(2.8.1) which will be running in this container are still with spring 3.0.5, it MIGHT be ok with spring 3.0.6 but we can't be that sure(as spring is a kind of fundamental libs for lots of other projects), right?

So I suggest either karaf 2.2.4 revert to spring 3.0.5(lit bit weird to me) or camel 2.8.1 should stay with karaf 2.2.2.

Regards
Freeman
On 2011-9-4, at 下午3:30, Jean-Baptiste Onofré wrote:

Hi Claus,

I'm going to work on Karaf Spring features today and tomorrow and test it with Camel, CXF and ActiveMQ. The 2.2.4 could contain only this and one other issue (about JMX). So it could be ready by tomorrow evening, and we can cut off the release on Tuesday.

So I think that we could be inline for Camel 2.8.1.

Is it OK for you ?

Regards
JB

On 09/04/2011 09:24 AM, Claus Ibsen wrote:
On Sun, Sep 4, 2011 at 8:29 AM, Jean-Baptiste Onofré<j...@nanthrax.net> wrote:
Hi Achim and all,

I propose:
1. to cover all Spring bundles in different Karaf spring features including
spring-tx
2. release Karaf 2.2.4 soon with this change
3. update Camel features descriptor to use the Karaf spring-tx features (and
eventually others, I have to check)
4. release Camel 2.8.1


How soon can Karaf 2.2.4 be released?

Would it speed up if the release was based on the 2.2.3 tags, and either did
- a) revert back to Spring 3.0.5
- b) bullet #1 above from Jean

eg so there are no other changes and thus a confort in the community
that Karaf 2.2.4 is a patch release with this single fix to ensure
using Karaf + Camel runs smoothly. As its to be used for the next SMX
release as well.



WDYT ?

Regards
JB

On 09/03/2011 09:38 PM, Achim Nierbeck wrote:

Hi JB,

I'm +1 on that one, often I was missing the spring-tx feature in the
first place :)

regards, Achim

Am 03.09.2011 18:54, schrieb Jean-Baptiste Onofré:

Hi,

I checked the issue and the problem is about the spring-tx bundle.

spring-tx bundle is not installed by a Karaf features, the first
feature which install it is camel-jms (part of the camel-spring).

That's why we have a bundle version mismatch between the spring
bundles provides by Karaf spring* features, and the one provided by
Camel features.

I think that it makes sense that Karaf provides all Spring* features,
convering all spring bundle, and Camel just "uses" it.

I'm going to discuss with the team to see how we move.

Regards
JB

On 09/02/2011 10:50 PM, mgardiner wrote:

I have recently tried using Karaf 2.2.3 which has just updated to use
Spring
3.0.6.RELEASE and we are now getting conflicts in camel-jms 2.8.0
because
two versions of spring are available. With a new camel release
underway are
you considering upgrading camel to spring 3.0.6.RELEASE?

Thanks.

Here's the output

Error executing command: Could not start bundle
mvn:org.apache.camel/camel-jms/2.8.0 in feature(s) camel- jms-2.8.0:
Unable
to resolve module org.apache.camel.camel-jms [88.0] because it is
exposed to
package 'org.springframework.util' from org.springframework.core
[82.0] and
org.springframework.core [43.0] via two dependency chains.

Chain 1:
org.apache.camel.camel-jms [88.0]
import:
(&(package=org.springframework.util)(version>=3.0.0)(! (version>=4.0.0)))
|
export: package=org.springframework.util
org.springframework.core [82.0]

Chain 2:
org.apache.camel.camel-jms [88.0]
import:
(&(package=org.apache.camel.impl)(version>=2.8.0)(! (version>=2.9.0)))
|
export: package=org.apache.camel.impl;
uses:=org.springframework.jmx.export.annotation
org.apache.camel.camel-core [80.0]
import:

(&(package=org.springframework.jmx.export.annotation) (version>=3.0.0)(!(version>=4.0.0)))

|
export: package=org.springframework.jmx.export.annotation;
uses:=org.springframework.aop.target
org.springframework.context [48.0]
import:

(&(package=org.springframework.aop.target)(version>=3.0.6)(! (version>=3.0.7)))

|
export: package=org.springframework.aop.target;
uses:=org.springframework.core
org.springframework.aop [47.0]
import:
(&(package=org.springframework.core)(version>=3.0.6)(! (version>=3.0.7)))
|
export: package=org.springframework.core; uses:=org.springframework.util
export: package=org.springframework.util
org.springframework.core [43.0]




--
View this message in context:

http://camel.465427.n5.nabble.com/Karaf-2-2-3-and-Camel-2-8-0-tp4763828p4763828.html

Sent from the Camel - Users mailing list archive at Nabble.com.




--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com





--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

---------------------------------------------
Freeman Fang

FuseSource
Email:ff...@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to