如何在WSO2 CEP 4.1.0中构建自定义事件接收器

时间:2016-07-06 08:29:34

标签: java eclipse events wso2 manifest

我写了一个自定义事件适配器,我构建了jar文件。我已将jar文件放在dropins文件夹中并重新启动了CEP引擎,但它出现在事件适配器中。

参考网址是: https://docs.wso2.com/display/CEP400/Building+Custom+Event+Receivers#BuildingCustomEventReceivers-ExposingCustomEventReceiverasanOSGIService

但是在OSGI包中没有解释。

我的MANIFEST.MF是:

Manifest-Version: 1

Build-Jdk: 1.8.0_92

Built-By: wso2-builder

Bundle-Description: org.wso2.event.adaptor.test

Bundle-ManifestVersion: 2

Bundle-Name: org.wso2.event.adaptor.test

Bundle-SymbolicName: org.wso2.event.adaptor.test

Bundle-Vendor: WSO2

Bundle-Version: 5.0.10

Created-By: Apache Maven Bundle Plugin

DynamicImport-Package: *

Private-Package: org.wso2.event.adaptor.test.internal, org.wso2.event.adaptor.test.internal.*

Export-Package:  !org.wso2.event.adaptor.test.internal, !org.wso2.event.adaptor.test.internal.*, org.wso2.event.adaptor.test.*,

Import-Package: org.wso2.carbon.event.input.adaptor.core, org.wso2.carbon.event.input.adaptor.core.*, !javax.xml.namespace, javax.xml.namespace; version=0.0.0, *;resolution:=optional,

Service-Component: OSGI-INF/serviceComponents.xml

Tool: Bnd-1.43.0

0 个答案:

没有答案