문제

I want to extend the Wso2 CEP product in our needs and try to write a custom condition as indicated in this official wso2 cep link.

However it says that "This is the latest, released WSO2 Complex Event Processor documentation (Version 2.1.0)." at the top of the page, it seems that it is outdated or having wrong information.

For example it says that,

To write a custom condition, create a class extending "org.wso2.siddhi.core.executor.conditon.AbstractGenericConditionExecutor", add the SiddhiExtionsion annotation, compile that class, and add the jar file to the class path /repertory/components/lib. Then add the fully-qualified class name for the implementation class in a new line, to the siddhi.extension file located at /repertory/conf/siddhi.

(I am assuming "repertory" is "repository"). There is no file or directory in official WSO2 CEP package as "/repertory/conf/siddhi" or "siddhi.extension", (wso2cep-2.1.0).

Is there a thing that i missed in this documentation, if not, can you recommend a new documentation about to write a custom condition in WSO2 CEP?

도움이 되었습니까?

해결책

It is a bug, there is a folder called "sidddhi" in the , it needs to be "siddhi" (this is a small typo error).. Please change that directory name to "siddhi" and perform your task ("sidddhi" to "siddhi")...

Yes.. I have corrected the doc also with the correct "repository"... Thanks for the notification...

Regards,

Mohan

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top