JMS 流消息的 XML 模式定义
这是用于将 JMS 流消息代码转换为消息类型的 XML 模式定义。
以下 XML 模式定义使用目标名称空间 http://www.ibm.com/xmlns/prod/websphere/messaging/jms/ 在 XML 中表示 JMS 流消息。请使用此定义在字节数组与消息有效内容之间进行转换代码。
<xsd:schema elementFormDefault="qualified" xml:lang="EN"
targetNamespace="http://www.ibm.com/xmlns/prod/websphere/messaging/jms"
xmlns="http://www.ibm.com/xmlns/prod/websphere/messaging/jms"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="data" type="StreamBody"/>
<xsd:complexType name="StreamBody">
<xsd:sequence>
<xsd:element name="value"
type="streamTypes"
minOccurs="0"
maxOccurs="unbounded"
nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="character">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="streamTypes">
<xsd:union memberTypes="xsd:long xsd:int xsd:short xsd:byte xsd:boolean
xsd:float xsd:double xsd:string xsd:hexBinary character"/>
</xsd:simpleType>
</xsd:schema>