The JMS properties extensibility element is a collection of property elements. It is an optional child element of the JMS message extensibility element.
Each property element defines a mapping of a JMS message user property, either to or from a WSDL message part.
The JMS property element includes the following attributes, all of which are required.
|
Attribute |
Description |
Example |
|---|---|---|
|
name |
The name of the JMS property that is mapped to the message part. |
JMSProp1 |
|
part |
The name of the message part to which the JMS property is mapped. |
msgPart1 |
|
propertyType |
The type of the JMS property. The valid values are boolean, short, int, long, float, double, or string. |
string |
The following example illustrates the JMS properties and property extensibility elements.
...
<jms:message messageType="TextMessage" textPart="partBody">
<jms:properties>
<jms:property part="partPropString"
propertyType="string"
name="AppStringProperty">
</jms:property>
</jms:properties>
</jms:message>
...
|