このCXF Proxy Exampleに従ったところ、説明どおりに正常に実行されました。
ここで、CXF Proxy Example を OSGI Bundle として JBoss-Fuse にデプロイしたいと考えています。私はこの指示に従っていますDeploying the Apache Camel Route . しかし、これはこのエラーで私を飛び出させます:
JBossFuse:admin@root> install -s mvn:org.apache.camel/camel-example-cxf-proxy/2.12.2
Bundle ID: 281
Error executing command: Error installing bundles:
Unable to start bundle mvn:org.apache.camel/camel-example-cxf-proxy/2.12.2:
Unresolved constraint in bundle org.apache.camel.camel-example-cxf-proxy [281]: Unable
to resolve 281.0: missing requirement [281.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.camel.spring)(version>=2.12.0)(!(version>=2.13.0)))
JBossFuse:admin@root>
私は何も変えませんでした。彼らの例をそのまま使用しました。彼らは pom.xml にこれを持っています
<parent>
<groupId>org.apache.camel</groupId>
<artifactId>examples</artifactId>
<version>2.12.2</version>
</parent>
バージョンをに変更してこれを試しました2.9.0.fuse-70-097
が、エラーは同じです(バージョン番号が変更されただけです)
osgi.wiring.package; (&(osgi.wiring.package=org.apache.camel.spring)
(version>=2.9.0)(!(version>=2.10.0)))