0

ActiveMQ 5.8.0 と Karaf 2.3.1 を別々に実行しています。

私がカラフで行ったことは次のとおりです。

  • features:addUrl mvn:org.apache.activemq/activemq-karaf/5.8.0/xml/features
  • osgi:install -s mvn:org.apache.activemq/activemq-camel/5.8.0

features:list | grep mqショー:

[uninstalled] [2.11.0         ] camel-amqp                              camel-2.11.0
[uninstalled] [2.11.0         ] camel-mqtt                              camel-2.11.0
[uninstalled] [5.8.0          ] activemq-client                         activemq-5.8.0
[uninstalled] [3.1.3.RELEASE  ] spring                                  activemq-5.8.0
[uninstalled] [5.8.0          ] activemq-broker                         activemq-5.8.0
[uninstalled] [5.8.0          ] activemq-http                           activemq-5.8.0
[uninstalled] [5.8.0          ] activemq-camel                          activemq-5.8.0
[uninstalled] [5.8.0          ] activemq-web-console                    activemq-5.8.0

インストールactivemq-brokerすると、サーバーと ActiveMQ のすべてがインストールされますが、それは必要ありません。

私のバンドルの 1 つで、メッセージをキューに送信している camel-cxf エンドポイントを公開しています。問題は、バンドルをインストールしようとするとエラーが発生することです。

missing requirement [169.0] osgi.wiring.package; (osgi.wiring.package=org.apache.activemq)

Karaf にインストールされている機能のいくつかは、このパッケージをエクスポートする必要があることを知っています:org.apache.activemqが、そうではありません。

activemq を個別に使用するために、Karaf にインストールする機能に関する情報が見つかりません。Karaf で ActiveMQ を実行したくありません。必要な機能をインストールするだけです。

この目的のためにインストールする必要がある機能を教えてください。

4

1 に答える 1