camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bingliu <>
Subject Camel used in osgi
Date Sun, 24 Oct 2010 07:08:06 GMT

I have asked a question of the camel be used in osgi.The information is
camel-osgi.jar/camel-spring-osgi.jar not detected in classpath.I was used
camel-2.3 then.But now i use camel-2.4,the problem also occur.
List my runtime environment:
IDE:Eclipse 3.5.2
Osgi framework:1.3.0
Spring framework:3.0.2
Camel framework:2.4( 2.3 at one time )
Apache another components
my Operation:
1.Create a bundle use Eclipse( Standard osgi )
2.Import Plugin( Spring, apache another components )
3.create a dir in the project, named 'lib'
4.copy camel-core-2.4.jar, camel-spring-2.4.jar, camel-ognl-2.4.jar and
ognl-osgi.jar to 'lib'
5.In 'MANIFEST.MF', import those jars to ClassPath.
6.Set another resources
7.Run osgi
8.Check console information, discover the information
'camel-osgi.jar/camel-spring-osgi.jar not detected in classpath'
9.Discover some Exceptions, for example
'org.apache.camel.impl.DefaultPackageScanClassResolver     - Cannot read
entries in url:
bundleresource://6.fwk25724761:8/org/apache/camel/component/file/ \org\apache\camel\component\file (The system
cannot find the path specified)'
What is the cause of the problem?How can solve it?I have asked the question
three times.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message