WSO2 Complex Event Processor is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.
||
Skip to end of metadata
Go to start of metadata

Follow the procedure below to send multiple events to WSO2 CEP via XML/JSON. 

  1. Create an event receiver of any receiver type that supports XML/JSON mapping. The following is a list of such receiver types.
  2. Define input mapping for the event receiver you created. 
    • If the message fomat you selected for the receiver is xml, specify an appropriate parent selector path to be considered the top XML element. As a result, if the events received have multiple sub elements within the element specified as the parent selector path, they are considered as multiple events.

      For detailed instructions to define XML mapping, see Input Mapping Types - XML input mapping.
       
    • If the message fomat you selected for the receiver is json, define JSON mapping for the receiver. As a result, when events received are in JSON arrays, the objects within the arrays are considered as individual events.

      For detailed instructions to define JSON mapping, see Input Mapping Types - JSON input mapping
  • No labels