【问题标题】:How to install camel-http feature on Karaf如何在 Karaf 上安装 camel-http 功能
【发布时间】:2021-01-14 02:28:14
【问题描述】:

我在 Apache Karaf 上使用 Fuse 7.7。

我收到了这个错误

2020-09-28 18:08:57,689 |错误 | lueprint 扩展器:2 | o.a.a.b.c.BlueprintContainerImpl | 51 - org.apache.aries.blueprint.core - 1.10.2 | 由于未解决的依赖关系 [(&(component=http)(objectClass=org.apache.camel.spi.ComponentResolver))],无法启动蓝图包 com.esb.iis-to-rm-vr/1.0.0 的容器 java.util.concurrent.TimeoutException: null

我做了以下步骤。 camel-http 没有安装。

karaf@root()> 功能:安装camel-http

karaf@root()> 特征:列表 | grep 骆驼-http

骆驼-http4

karaf@root()> 列表 | grep 骆驼-http

67 |活跃 | 50 | 2.21.0.fuse-770013-redhat-00001 |骆驼-http-common

255 |活跃 | 50 | 2.21.0.fuse-770013-redhat-00001 |骆驼-http4

除了下面的步骤,请告诉我,安装camel-http需要遵循哪些步骤。

karaf@root()> 功能:安装camel-http

【问题讨论】:

    标签: jbossfuse fuseesb


    【解决方案1】:

    请注意,camel-http 仅作为生产者。你不能只和他一起做from("http://...")。为了能够做到这一点,您需要添加一个骆驼组件,该组件将允许您的路线将自己绑定到 karaf 的码头。你可以尝试安装camel-jetty

    此外,你的feature:list | grep camel-http 似乎只返回了camel-http4。我注意到 camel-http 功能已被删除,但您始终可以安装 http4 组件

    【讨论】:

    • 我使用了 features:install camel-http4 并在路由中使用了 http4。它按预期工作。
    猜你喜欢
    • 2013-07-15
    • 2016-06-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多