Apache Camel maven dependency issue with BundleContextAware and BundleContext

ⅰ亾dé卋堺 提交于 2019-12-05 20:59:17

Ah this example was refactored to also be deployable in OSGi. And therefore there is some OSGi classes in the sample code.

You should just remove that if you do not use OSGi, eg remove the code about BundleContextAware and BundleContext

The non-OSGI MyRouteConfig example is available here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!