Hi guys,

Just waking up ;)

1/ the CamelContext are exposed as OSGi service, as Charlie said, use feature:list |grep -i camel (or features:list if you use Karaf 2.x). It's the same for the Camel components: they exposed as OSGi services. That's why you have to install the component feature to be able to use the component scheme. 2/ camel-osgi is no more a valid artifact (since 2.4.x). Now, you have to use camel-core/camel-core-osgi. 3/ my advice is to just define camel-core as provided in your dependency set and use the correct OSGi import.

I hope it helps.

Regards
JB

On 02/03/2014 03:27 PM, Charlie Mordant wrote:
Hi again!

Starting from your initial problem (bundle not starting with a missing
requierement),

you should have typed in your Karaf console: 'feature:list' and see all
the camel features (with no one named camel-osgi with the 2.12 version,
but some other starting with camel-*).
In doubt, you would have tried installing the base camel feature
('feature:install camel').
Then looked at the camel bundles installed: 'la | grep *camel*'
Then, looked at the Symbolic-Name header of this bundle: 'bundle:headers
<ACamelBundle> | grep Bundle-SymbolicName'.

Seeing this, you would have changed your manifest entry to camel.core,
camel.blueprint, then installing the additionnal features you wanted ;).

Regards,

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to