Hi,
Can you check the bundles that you installed, please make sure there is
only one version of Camel.
BTW, if you are using Camel 2.4.0, you just need to install the
camel-core, camel-spring bundles.
On 10/25/10 3:47 PM, Bingliu wrote:
Hi, We have used spring-osgi's component as osgi runtime plugin.The
information said like this:
2010 Oct 25 15:37:48 0 INFO [SpringOsgiExtenderThread-1]
org.apache.camel.spring.handler.CamelNamespaceHandler -
camel-osgi.jar/camel-spring-osgi.jar not detected in classpath
The top of information is [SpringOsgiExtenderThread-1].
when the springOsgi running and loading the camel-osgi.jar. If spring-osgi
thread find no jar in the same bundle.whether occur the problem?
When i see the source of camel, i discover this program.look this:
Class cl = CamelContextFactoryBean.class;
try {
cl =
Class.forName("org.apache.camel.osgi.CamelContextFactoryBean");
osgi = true;
} catch (Throwable t) {
...
}
if (osgi) {
LOG.info("camel-osgi.jar/camel-spring-osgi.jar detected in
classpath");
} else {
LOG.info("camel-osgi.jar/camel-spring-osgi.jar not detected in
classpath");
}
if spring-osgi-1.2.1 and camel-osgi as two bundle run, whether occur the
problem?
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang