WebSphere Message Brokers
File: ad09840_
Writer: Terry Cowling

Reference topic

This build: July 31, 2007 21:23:35

Specifying special characters to model a message

You can specify a number of different types of special character in the workbench. You can also specify special character values for message sets, types, and type members. The values that you set for a type override the corresponding values that are set for the message set in which it is defined.

You can specify a special character value in one of the following ways:

The types of special character are described in the table below.

Special character type Description Set as a property of...
Group Indicator This is a string that indicates the start of a group or complex type within a message Message set, type
Group Terminator This is a string that indicates that the end of a group or complex type within a message Message set, type
Tag Data Separator This is the string that is used to separate a tag from its data. Message set, type
Delimiter This is the string used to separate data elements from one another Message set, type
Repeating Element Delimiter This is the string used to separate repeating data elements from one another Type member
Start of changeTagEnd of change Start of changeThis is the string that indicates the start of a piece of data.End of change Start of changeMessage set, typeEnd of change
Start of changeEscape characterEnd of change Start of changeThis is the character that is used to allow special reserved characters (such as delimiters) to be included as part of dataEnd of change Start of changeMessage set, typeEnd of change
Start of changeQuote characterEnd of change Start of changeThis is the character that is used to allow special reserved characters (such as delimiters) to be included as part of data.End of change Start of changeMessage set, typeEnd of change
Start of changeReserved charactersEnd of change Start of changeThese are characters that have a special meaning; for example, escape characters, quote characters, delimiters, and group indicators, are all examples of reserved characters.End of change Start of changeMessage set, typeEnd of change
Start of changeDecimal pointEnd of change Start of changeThis is the character '.'.End of change Start of changeMessage set, typeEnd of change

If you create a complex type and set the Data Element Separation property to Tagged Delimited, the Group Indicator property to left brace ({) , the Group Terminator to right brace (}), the Tag Data Separator to colon (:), and the Delimiter to asterisk (*), the bit stream has the following format:

{tag1:data1*tag2:data2*tag3:data3}

In some message formats, a special character is specified before each element or after each element, as shown in the following two examples:

:data1:data2:data3

data1:data2:data3:

You can model these formats by using a combination of the Data Element Separation method, the Delimiter value, the Group Indicator value, and the Group Terminator value.

For the first example, specify Data Element Separation as All Elements Delimited, Delimiter as colon (:), and Group Indicator as colon (:).

For the second example, specify Data Element Separation as All Elements Delimited, Delimiter as colon (:), and Group Terminator as colon (:).

Related concepts
Message modeling
The message model
TDS format: Relationship to the logical model
Related tasks
Developing message models
Working with message model objects
Related reference
Message model reference information
Message model object properties
Additional MRM domain information
Additional TDS information
Message characteristics
Notices | Trademarks | Downloads | Library | Support | Feedback

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

ad09840_ This topic's URL is: