WebSphere Message Brokers
File: ad00781_
Writer: Terry Cowling

Concept topic

This build: July 31, 2007 21:21:38

Custom wire format: NULL handling

CWF supports the handling of explicit NULL values within messages. An explicit null is identified by a specific value that identifies an element as being null.

The Boolean Null Value can be specified at the message set level and applies to the Boolean elements of all messages defined in that message set. The null value for all other element types can be specified individually for each element.

CWF supports the representation of null values using the Encoding Null and Encoding Null Value element properties. Together this information controls how null values are handled by the MRM parser.

The Encoding Null property can be set to one of four values:

NullLogicalValue

The Encoding Null Value property is interpreted as a logical value. Thus, if its value is set to 0 for example then both 0 and 0.00 are interpreted as null values.

NullLiteralValue

The Encoding Null Value property is interpreted as a string value. Thus, the value of the element in the bit stream must match exactly the value specified to be interpreted as a null value.

NullPadFill

This should be used for fixed length elements. On output, any element with a null value will be padded to the appropriate length with the specified padding character.

NullLiteralFill

The Encoding Null Value property is interpreted as a single character string value. Therefore, each character of the value of the element in the bit stream must match exactly the character value specified, to be interpreted as a null value.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:21:38

ad00781_ This topic's URL is: