Saveendra Ekanayake
Saveendra Ekanayake

Reputation: 3313

WSO2 CEP + Handle null values

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.

Upvotes: 0

Views: 491

Answers (1)

suho
suho

Reputation: 912

There two ways of fixing this

  1. Using default values in Event Receiver input event mapping https://docs.wso2.com/display/CEP410/Input+Mapping+Types
  2. Using Siddhi by checking is null operator with in the query https://docs.wso2.com/display/CEP410/SiddhiQL+Guide+3.0#SiddhiQLGuide3.0-QueryProjection

Upvotes: 1

Related Questions