Skip to content

Commit

Permalink
SPLDoc update (issue #341) and version bump v5.3.8 -> v5.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
schulz2 committed Jul 3, 2018
1 parent b2a5b80 commit 5945f4c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions com.ibm.streamsx.messaging/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -382,15 +382,15 @@ The <destination> element has three attributes:
If this attribute is not specified, the default value is non_persistent.
* message_class
* This attribute value specifies how a stream tuple is serialized into a WebSphere MQ or an Apache ActiveMQ message.
It operates with the <native_schema> element. The value can be: bytes, empty, map, stream, wbe, wbe22, or xml.
It operates with the <native_schema> element. The value can be: bytes, empty, map, stream, text, wbe, wbe22, or xml.

++++ Message class formats in the Messaging Toolkit

The message class specifies the type of XMS or JMS message that is output or expected by the operators in the Messaging Toolkit.
It also affects how the message payload is converted to tuples or vice versa.

The Messaging Toolkit supports the following values for the message_class attribute in the <destination> element:
bytes, empty, map, stream, wbe, wbe22, and xml.
bytes, empty, map, stream, text, wbe, wbe22, and xml.

When the message_class attribute value is `bytes`:
* The `XMSSink` operator constructs an XMS BytesMessage.
Expand Down Expand Up @@ -479,6 +479,12 @@ When the message_class attribute value is `stream`:
* If the StreamMessage contains an attribute with a null value, the corresponding output stream attribute is set
to the default value for its type.

When the message_class attribute value is `text`:
When the text message class is specified in the connection document, the native schema must contain a single attribute of a String type.
Text messages must be encoded in UTF-8. For support of other encoding, use bytes message class.
* The `JMSSink` and `XMSSink` operators construct a JMS TextMessage and the output schema for JMSSink must contain a single String attribute.
* The `JMSSource` and `XMSSource` operators expect a JMS TextMessage and the input schema for JMSSource must contain a single String attribute.

When the message_class attribute value is `wbe`:
* The `XMSSink` operator constructs an XMS TextMessage. The `JMSSink` operator constructs a JMS TextMessage.
The TextMessage contains an XML document in the WebSphere Business Events (WBE) event packet format.
Expand Down Expand Up @@ -678,7 +684,7 @@ The <attribute> element has three possible attributes:
* composite types
* xml
</info:description>
<info:version>5.3.8</info:version>
<info:version>5.3.9</info:version>
<info:requiredProductVersion>4.2.0.0</info:requiredProductVersion>
</info:identity>
<info:dependencies/>
Expand Down

0 comments on commit 5945f4c

Please sign in to comment.