Show Table of Contents
15.4. OSGi Integration
Auto-configured OSGi integration
The Camel context beans are automatically adapted by Camel CDI so that they are registered as OSGi services and the various resolvers (like
ComponentResolver and DataFormatResolver) integrate with the OSGi registry. That means that the Karaf Camel commands can be used to operate the Camel contexts auto-configured by Camel CDI, for example:
karaf@root()> camel:context-list Context Status Total # Failed # Inflight # Uptime ------- ------ ------- -------- ---------- ------ camel-cdi Started 1 0 0 1 minute
See the
camel-example-cdi-osgi example, available in the list of camel examples for a working example of the Camel CDI OSGi integration.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.