That's what I did and now I understand it too.
Thanks for your explanation!

Cheers
Laci

On 03.02.2014 16:02, Jean-Baptiste Onofré wrote:
You don't have to define camel-core-osgi in your dependency, just camel-core. But it's not enought.

You have to install camel-spring or camel-blueprint (depending of the DSL that you want to use) in the runtime as these bundles expose the Camel OSGi services.

Regards
JB

On 02/03/2014 03:49 PM, Laci Gaspar wrote:
Thanks for your answers.

I had several camel bundles already installed. Here's  what I did:

karaf@root> list | grep camel
[  60] [Active     ] [            ] [   50] camel-core (2.12.2)
[ 61] [Active ] [Created ] [ 50] camel-karaf-commands (2.12.2)
[  62] [Active     ] [Created     ] [   50] camel-blueprint (2.12.2)
[  75] [Active     ] [            ] [   50] camel-jms (2.12.2)
[  79] [Active     ] [            ] [   50] camel-http (2.12.2)
karaf@root> features:chooseurl camel 2.12.2
adding feature url
mvn:org.apache.camel.karaf/apache-camel/2.12.2/xml/features
karaf@root> features:install camel
karaf@root> list | grep camel
[ 60] [Active ] [ ] [ ] [ 50] camel-core (2.12.2)
[  61] [Active     ] [Created     ] [       ] [   50]
camel-karaf-commands (2.12.2)
[  62] [Active     ] [Created     ] [       ] [   50] camel-blueprint
(2.12.2)
[  75] [Active     ] [            ] [       ] [   50] camel-jms (2.12.2)
[ 79] [Active ] [ ] [ ] [ 50] camel-http (2.12.2) [ 140] [Active ] [ ] [ ] [ 50] camel-spring (2.12.2)

So, it seems, that I was missing camel-spring. After I installed that,
it worked.
Adding camel-core-osgi to my dependency didn't work (before installing
camel-spring)

well, it's still a bit mysterious to me, I'll just keep asking ;-)
Thanks for your help, I appreciate it very much, that you all answer so
quickly.

regards,
Laci



Reply via email to