modulesdefine.xml
This is not the full markup of the file. Open your modulesdefine.xml
file in a text editor and add the TransporterDefn
and FormatterDefn
elements of the markup shown below.
<?xml version="1.0" encoding="utf-8"?>
<ModulesDefinition>
<TransporterDefnList>
…
…
<TransporterDefn>
<Name>MqttTransporter</Name>
<Class>com.sap.MqttTransporter</Class>
<OutputData>String</OutputData>
</TransporterDefn>
</TransporterDefnList>
<FormatterDefnList>
…
…
<FormatterDefn>
<Name>MqttFormatter</Name>
<Class>com.sap.MqttFormatter</Class>
<InputData>String</InputData>
<OutputData>ESP</OutputData>
</FormatterDefn>
</FormatterDefnList>
…
</ModulesDefinition>
custommodulesdefine.xml
This is not the full markup of the file. Open your custommodulesdefine.xml
file in a text editor and add the TransporterDefn
and FormatterDefn
elements of the markup shown below.
<?xml version="1.0" encoding="utf-8"?>
<ModulesDefinition>
<TransporterDefnList>
…
…
<TransporterDefn>
<Name>MqttTransporter</Name>
<Class>com.sap.MqttTransporter</Class>
<OutputData>String</OutputData>
</TransporterDefn>
</TransporterDefnList>
<FormatterDefnList>
…
…
<FormatterDefn>
<Name>MqttFormatter</Name>
<Class>com.sap.MqttFormatter</Class>
<InputData>String</InputData>
<OutputData>ESP</OutputData>
</FormatterDefn>
</FormatterDefnList>
…
</ModulesDefinition>
paramtersdefine.xsd
This is not the full markup of the file. Open your custommodulesdefine.xml
file in a text editor and add the xs:element
and xs:complexType
elements of the markup shown below.
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:include schemaLocation="standard_module_parametersdefine.xsd"/>
<xs:complexType name="DefinedTypeParameters">
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="1">
…
<xs:element name="MQTTInputTransporterParameters"
type="MQTTInputTransporterParametersDefn"/>
…
</xs:choice>
</xs:sequence>
</xs:complexType>
…
<xs:complexType name="MQTTInputTransporterParametersDefn">
<xs:all>
<xs:element name="MosquittoServerAddress" type="xs:string"></xs:element>
<xs:element name="Topic" type="xs:string"></xs:element>
</xs:all>
</xs:complexType>
…
</xs:schema>