OK, I installed the latest Karaf (2.2.6) and Camel features with

features:chooseurl camel 2.9.1


features:install camel-core


Then I installed my bundle into the local maven repo and then to Karaf with

karaf@root> osgi:install
mvn:com.mycompany/route-weather-current/1.0-SNAPSHOT
Bundle ID: 67

As I suspected, this bundle will have difficulities to start up, as I did
not install all the neccessary features into Karaf needed by my bundle and
so the error happens:

karaf@root> osgi:start 67
org.osgi.framework.BundleException: Unresolved constraint in bundle
route-weather-current-osgi [67]: Unable to resolve 67.0: missi
ng requirement [67.0] package;
(&(package=org.apache.camel.core.osgi)(version>=2.9.0)(!(version>=3.0.0)))

As I am using camel-core-osgi and this feature is not installed with
features:chooseurl camel 2.9.1 where do I get it?

Thanks,
borut

Dne 11. april 2012 10:46 je Claus Ibsen <claus.ib...@gmail.com> napisal/-a:

> > The blueprint.xml file is then placed in the META-INF/blueprint
> > directory. The standard place for that.
>
> Ah sorry I think its OSGI-INF/blueprint/blueprint.xml
>
> The name of the XML file dont have to be blueprint.xml. I think you
> can name it myapp.xml, camel.xml, etc. Or what you like.
>
> Anyway the point is its the whatever the blueprint standard is.
>
>
>
>
>
> --
> Claus Ibsen
> -----------------
> CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
> FuseSource
> Email: cib...@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/
>

Reply via email to