IBMStreams com.ibm.streamsx.messaging Toolkit > com.ibm.streamsx.messaging 5.4.3 > Connection specifications document > Access_specification element > Native_schema element
In the Messaging Toolkit, the <native_schema> element specifies the data attributes of the data that is received from or sent to WebSphere MQ or Apache ActiveMQ. For example, the <native_schema> element identifies the attribute names, data types, and optionally their length.
<access_specification name="OutTrading">
<destination identifier="TestDestination"
delivery_mode="persistent" message_class="map" />
...
<native_schema>
<attribute name="id" type="Int" />
<attribute name="fname" type="String" />
<attribute name="lname" type="String" />
</native_schema>
</access_specification>
The <native_schema> element has no attributes; it has <attribute> elements.