[英]Blueprint container error on OSGi bundle start up
我們有一個 Karaf OSGi 服務器,它有一個捆綁包,用於使用 CAMEL/CXF 傳入的 web 請求。 自周末以來,當服務器啟動時,捆綁包一直出現以下錯誤: 這方面的代碼沒有改變,即使是相同服務器的舊版本現在也有這個問題。 它已經阻止了我們的一位客戶死在他們的軌道上,因此我們將不勝感激任何幫 ...
[英]Blueprint container error on OSGi bundle start up
我們有一個 Karaf OSGi 服務器,它有一個捆綁包,用於使用 CAMEL/CXF 傳入的 web 請求。 自周末以來,當服務器啟動時,捆綁包一直出現以下錯誤: 這方面的代碼沒有改變,即使是相同服務器的舊版本現在也有這個問題。 它已經阻止了我們的一位客戶死在他們的軌道上,因此我們將不勝感激任何幫 ...
[英]Apache Camel Karaf Mandatory header ignored
我有一條帶有休息呼叫的路線。 我需要在此調用中聲明一個強制性標頭。 但我不是從 blueprint.xml 得到的。 即使沒有聲明的標頭,答案也是 200。這是我的路由 xml: enter code here 我忘記或放錯了什么? 謝謝收聽。 ...
[英]Set the bundle version and start level when deploying camel route as XML in deploy folder of ServiceMix
在ServiceMix的“deploy”文件夾中部署bundle時,我想知道是否可以在藍圖XML中設置bundle版本。 駱駝路線示例(藍圖 xml): 部署后,smx 控制台中的列表顯示: 我想知道是否也可以更改默認為 80 的起始級別。 ...
[英]OSGi - NoClassDefFoundError after bundle update
我有一個包正在搜索其他 5 個包,如下所示: 它在第一次啟動 apache felix 時工作正常,但是一旦我使用 apache felix 中的“更新 bID”命令更新捆綁包(我試圖從中找到其他捆綁包),只找到 5 個其他捆綁包中的 4 個,總是拋出 NoClassDefFoundError,我 ...
[英]Procedure to add features to OpenDaylight application
這與我的問題在 Opendaylight 中安裝自定義功能或模塊? . 我希望使用Hello World 應用程序並添加執行功能的feature:install以下功能: 功能:安裝 odl-restconf odl-mdsal-apidocs odl-openflowplugin-流服務 o ...
[英]Negation is not detected in simple expression
我有一個簡單的問題。 我在 when 條件中使用了一個簡單的表達式: <simple>${body} !contains '"foo' || ${body} !contains '"bar"' </simple> 由於未知原因,在 OSGi 上啟動捆綁包時出現語法錯誤異常(意 ...
[英]MethodInvokingFactoryBean returns itself instead of desired object
我正在嘗試使用MethodInvokingFactoryBean來獲取com.amazonaws.regions.Region的實例,以用於配置com.amazonaws.services.kinesis.AmazonKinesisClient 。 我在 Blueprint、Camel、Karaf ...
[英]Using Typed Default Property Placeholders defined in blueprint but resolved in Camel Java DSL
我在 Karaf 中使用藍圖來引導 CamelContext 的啟動,后者又配置了在 Java DSL(Camel 版本 2.21.2)中定義的路由。 在 blueprint.xml 中,我定義了一些默認屬性占位符以利用 config admin OSGi 服務: 在 Java DSL 中,我可 ...
[英]How to Escape Property References in an OSGi Blueprint Properties file?
我正在嘗試在 OSGi 屬性文件中創建一個屬性,其中該屬性是一個簡單的字符串,例如 但是,這似乎不起作用,我認為這是因為${...}正在被配置管理器作為屬性引用處理,並且由於它不作為屬性存在,因此被清空。 我試過將簡單的字符串引用轉義為$${和\\${但都不起作用。 是否有可能以某種方式轉義 ...
[英]How to embed a maven dependency with bnd-maven-plugin
我正在從使用 Embed-Dependency 提供“方便”配置的 maven-bundle-plugin 遷移,但在使用bnd-maven-plugin時,我似乎需要以 bnd 格式“手動”指定我的嵌入依賴項。 我從舊的 package 添加了相同的包頭,但它似乎不包括實際依賴項的 jar 文件。 ...
[英]How can I debug a missing NamespaceHandler in Aries Blueprint running in Karaf?
我一遍又一遍地爭論這個問題。 它歸結為: 如何調試在 Apache Karaf 內部運行的 Aries 藍圖? I end up with the output from diag which only hints at the fact that the XML namespace http: ...
[英]Shut the default web page of Apache Aries down
我在 karaf 使用 Apache Aries。 我已經在一個單獨的包中設置了我的主頁。 問題是當我停止我的“web-home”包時,我看到 apache aries 默認頁面。 在 karaf-logs 中,我看到默認頁面總是被調用。 這就是我的Home.java樣子: 那么,如何將白羊座配置為 ...
[英]Mocking OSGi reference in CamelBlueprintTest does not work
我目前正在使用 CamelBlueprintTestSupport 設置測試。 在我的 blueprint.xml 中,我嘗試了以下實現: <reference id="foo" interface="com.myexample.FooInterface" /> Mocking Foo ...
[英]Unable to start blueprint due to unresolved dependencies
我是駱駝和藍圖的新手。 試圖在 Jboss 保險絲中安裝我的應用程序,但出現錯誤 - 任何人都可以在這方面提供幫助,我們什么時候得到未解決的依賴錯誤,它顯示為組件 = 速度。 ...
[英]How to replace text values in cfg files loaded in blueprint/context.xml
我正在我的 context.xml 在我的 context.xml 文件下的 OSGi-inf/blueprint/ 下加載一個 cfg 文件: ... 在我的 cfg 文件中,我得到: this loads correctly the jdbc env property and injects ...
[英]Testing from-Endpoints with CamelBlueprintTestSupport fails with some components
我想測試用 Blueprint-XML 實現的駱駝路線。 當嘗試使用簡單的“直接”端點測試路由時,一切正常。 但是將“from”端點更改為 netty 或 jetty 組件,測試失敗,但出現以下異常: java.lang.RuntimeException: 放棄等待來自 bundle 'MyRou ...
[英]Bundle is waiting for namespace handlers
I'm trying to deploy my application in fuse container but I get an error - Bundle is waiting for namespace handlers [ http://camel.apache.org/schema/ ...
[英]Passing a property value across different camel Context in apache camel
如何將駱駝中的屬性傳遞給不同的駱駝上下文? 我當前的架構將處理 4 種不同類型的消息(A、B、C、D),並且它僅對所有這些消息使用相同的路由,同時保存它會根據消息類型更改數據庫表名稱,但現在我有一個要求,我只需要為特定消息保存來自交換 object 的幾個值。 我正在考慮在路由中設置一個屬性,消息類 ...
[英]No consumers available on endpoint: Endpoint[direct://LookUpRoute]
我是 Apache 駱駝的新手。 我正在嘗試將交換從 java 方法發送到路由,但它給了我“Caused by: org.apache.camel.component.direct.DirectConsumerNotAvailableException: No consumer available ...
[英]Setting Property in Apache Camel in XML
我是 apache 駱駝的新手。 在下面需要幫助。 我有 2 條路線。 從路由 A 我使用方法調用僅將 1 個屬性發送到另一條路由。 喜歡 在ServiceBean class里面,我有 現在我的問題是我需要傳遞兩個屬性 MessageMap, MessageBelongerMap 但我在這里看不到 ...