Currently WSO2 CEP is triggered using some Http requests. But some times triggered request has null values. At that time how to handle those null values using CEP.
Asked
Active
Viewed 488 times
0
-
Is it about sending events to CEP http receivers where some attributes have null values? – Tharik Kanaka Apr 29 '16 at 04:48
-
Yes @TharikKanaka, It has null values. – Saveendra Ekanayake Apr 29 '16 at 06:46
1 Answers
1
There two ways of fixing this
- Using default values in Event Receiver input event mapping https://docs.wso2.com/display/CEP410/Input+Mapping+Types
- Using Siddhi by checking
is null
operator with in the query https://docs.wso2.com/display/CEP410/SiddhiQL+Guide+3.0#SiddhiQLGuide3.0-QueryProjection

suho
- 912
- 6
- 12