简体   繁体   中英

Apache Camel OSGi container configured by Java DSL?

I need to integrate an Apache-camel application with an OSGi Container. It would be helpful to me as this integration is configurable through Java DSL.

So far I have test Apache Karaf as best suitable solution, since it is as lightweight as it's needed for my implementation.

Yet I am seeking a related OSGi Server that can integrate as perfect as Karaf with Apache-Camel.

Cheers!

We've been using servicemix esb - it seems pretty lightweight as it is basically karaf which deploys camel applications as osgi bundles.

The approach I was going to go with was create a spring application context and create the camel context and reference the java dsl route builders in that. When you deploy the module it will look for spring context and automatically start it up like this .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM