WebSphere WebSphere Business Integration Message Service Clients for C/C++ Version 1.2.7 and .NET Version 1.2.6 Operating Systems: AIX, Linux, Solaris, Windows

Data types for elements of application data

To ensure that both XMS applications can exchange messages with a WebSphere MQ JMS application both must be able to interpret the application data in the body of a message in the same way.

For this reason, each element of application data written in the body of a message by an XMS application must have one of the data types listed in Table 1. For each XMS data type, the table shows the compatible Java data type. XMS provides the methods to write elements of application data only with these data types.

Table 1. XMS data types that are compatible with Java data types
XMS data type Represents Compatible Java data type
xmsBOOL The boolean value xmsTRUE or xmsFALSE boolean
xmsCHAR16 Double byte character char
xmsSBYTE Signed 8-bit integer byte
xmsSHORT Signed 16-bit integer short
xmsINT Signed 32-bit integer int
xmsLONG Signed 64-bit integer long
xmsFLOAT Signed floating point number float
xmsDOUBLE Signed double precision floating point number double
String String of characters String

For information about the size, maximum value and minimum value of each of these data types, see XMS primitive types.

Related concepts
Attributes and properties of objects
XMS primitive types
Implicit conversion of a property value from one data type to another
Related reference
Bytes messages
Map messages
Object messages
Stream messages
Text messages

Reference topic

Terms of Use | Rate this page

Last updated: 18 Jun 2008

© Copyright IBM Corporation 2005, 2008. All Rights Reserved.