이 콘텐츠는 선택한 언어로 제공되지 않습니다.
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
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.