Tuple Descriptor File

The Tuple Descriptor File must describe the schema of the stream that you are publishing to.

This file is required because out-of-process adapters have no way of knowing the schema on Sybase CEP Server side unless we tell it to them. An example tuple descriptor looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<TupleDescriptor
      xmlns="http://www.sybase.com/cpx/2004/03/"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.sybase.com/cpx/2004/03/cpx_td.xsd"
      Name="MyTuple"
      >
   <Field Name="field1" xsi:type="StringFieldType" />
   <Field Name="field2" xsi:type="IntegerFieldType" />
</TupleDescriptor>