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

XMS primitive types

XMS provides equivalents of the eight Java primitive types (byte, short, int, long, float, double, char and boolean). This allows the interchange of messages between XMS and JMS without data becoming lost or corrupted.

Table 1 lists the Java equivalent data type, size, and minimum and maximum value of each XMS primitive type.

Table 1. XMS data types and their Java equivalents
XMS data type Compatible Java data type Size Minimum value Maximum value
xmsBOOL boolean 32 bits xmsFALSE xmsTRUE
xmsSBYTE byte 8 bits -27 (-128 ) 27-1 (127)
xmsCHAR byte 8 bits -27 (-128 ) 27-1 (127)
xmsCHAR16 char 16 bits 0 (\u0000) 216-1 (\uFFFF)
xmsSHORT short 16 bits -215 (-32768) 215-1 (32767)
xmsINT int 32 bits -231 (-2147483648) 231-1 (2147483647)
xmsLONG long 64 bits -263 (-9223372036854775808) 263-1 (9223372036854775807)
xmsFLOAT float 32 bits -3.402823E-38 (to 7 digits precision) 3.402823E+38 (to 7 digits precision)
xmsDOUBLE double 64 bits -1.79769313486231E-308 (to 15 digits precision) 1.79769313486231E+308 (to 15 digits precision)
Related concepts
Attributes and properties of objects
Implicit conversion of a property value from one data type to another
Related reference
Data types for elements of application data

Concept topic

Terms of Use | Rate this page

Last updated: 18 Jun 2008

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