Thanks for your anser mr. Karpe ,
Yes i have the imports on my pom file,as you suggested I have tried this:
<Import-Package>*,org.apache.camel.osgi,com.flytecomm.noaa_atom_feed_consumer</Import-Package>
and this (adding the exclamation mark)
<Import-Package>*,org.apache.camel.osgi,!com.flytecomm.noaa_atom_feed_consumer</Import-Package>
Still the same issue, also, i have executed the command osgi:header on the
bundle that instantiates the camel route, this is the result:
Manifest-Version = 1.0
Bnd-LastModified = 1311372596591
Tool = Bnd-1.15.0
Built-By = rogeliosevilla1
Build-Jdk = 1.6.0_26
Created-By = Apache Maven Bundle Plugin
Bundle-Name = My Route Factory
Bundle-SymbolicName = cap_camelroutes_factory
Bundle-Version = 1.0.0.SNAPSHOT
Bundle-ManifestVersion = 2
Import-Package =
com.flytecomm.noaa_atom_feed_consumer,
org.apache.camel;version="[2.7,3)",
org.apache.camel.builder;version="[2.7,3)",
org.apache.camel.impl;version="[2.7,3)",
org.apache.camel.osgi;version="[2.7,3)",
After that,executing the command
packages:exports | grep flytecomm
y get this:
246 com.flytecomm.noaa_atom_feed_consumer; version=0.0.0
247 com.flytecomm.cap_save_bundle; version=0.0.0
248 com.flytecomm.cap_camelroutes_factory; version=0.0.0
As you can see it is stated on my bundle that the package should be
imported, also, according th the packages:exports command, the package is
exported.. but still, i keep getting the same error :-S , i'm honestly lost
in here.
Any advice would be really appreciated
--
View this message in context:
http://camel.465427.n5.nabble.com/Instantiating-an-osgi-bundled-camel-route-from-another-bundle-tp4623697p4624861.html
Sent from the Camel - Users mailing list archive at Nabble.com.