This documentation is for WSO2 Complex Event Processor 2.0.1. View documentation for the latest release.

XML Input Mapping

This will convert the incoming XML events to the appropriate CEP back end runtime events.

XPath Prefixes

These will defined the Prefixes of the XPaths that are used to extract information from the incoming events.

Following information should be added when defining XPath Prefixes.

  • Prefix - The XPath Prefix used in the XPath expression
  • Namespace - The appropriate namespace referred by the XPath Prefix
Properties

These will defined how each element of the input event will be mapped with the back end runtime event.

Following information should be added when defining XML mapping properties.

  • Name - The property/attribute name of the back end runtime event to which the data element will be mapped
  • Xpath - The XPath used to extract the data that to be mapped from the incoming XML event
  • Type - Type of the element that is being mapped. This can be either of java.lang.String, java.lang.Integer, java.lang.Long, java.lang.Float or java.lang.Double

 

Copyright © WSO2 Inc. 2005-2014