IPWorks MQ 2020 C++ Builder Edition

Questions / Feedback?

IncomingMessageValueType Property

This message's value data type.

Syntax

__property TipqAMQPIncomingMessageValueTypes IncomingMessageValueType[int IncomingMessageIndex] = { read=FIncomingMessageValueType };
enum TipqAMQPIncomingMessageValueTypes { mvtNull=0, mvtBoolean=1, mvtUbyte=2, mvtUshort=3, mvtUint=4, mvtUlong=5, mvtByte=6, mvtShort=7, mvtInt=8, mvtLong=9, mvtFloat=10, mvtDouble=11, mvtDecimal=12, mvtChar=13, mvtTimestamp=14, mvtUuid=15, mvtBinary=16, mvtString=17, mvtSymbol=18, mvtJson=19 };

Default Value

mvtNull

Remarks

This message's value data type.

This property specifies the data type of this message's IncomingMessageValue.

The table below shows the possible value types, their descriptions, and how to format the data assigned to IncomingMessageValue. All numeric value types should use their standard string formatting (except for the mvtDecimal (12) type, which should be specified as hex-encoded bytes).

Type Description Value Format
mvtNull (0 - default) Null N/A (IncomingMessageValue is ignored)
mvtBoolean (1) Boolean "True" or "False"
mvtUbyte (2) Unsigned byte 0 to 255
mvtUshort (3) Unsigned short 0 to 65535
mvtUint (4) Unsigned integer 0 to 4294967295
mvtUlong (5) Unsigned long 0 to 18446744073709551615
mvtByte (6) Byte -128 to 127
mvtShort (7) Short -32768 to 32767
mvtInt (8) Integer -2147483648 to 2147483647
mvtLong (9) Long -9223372036854775808 to 9223372036854775807
mvtFloat (10) Float IEEE 754 32-bit floating point number
mvtDouble (11) Double IEEE 754 64-bit floating point number
mvtDecimal (12) Decimal Hex-encoded byte string
mvtChar (13) Char Single character
mvtTimestamp (14) Timestamp Number of milliseconds since the Unix epoch (January 1, 1970 00:00:00 UTC).
mvtUuid (15) UUID Hex-encoded UUID in the form XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX (hyphens optional, case-insensitive)
mvtBinary (16) Binary data Hex-encoded byte string
mvtString (17) String String
mvtSymbol (18) Symbolic value ASCII string
mvtJson (19) Composite data Composite data JSON structured according to the schema shown in the SendMessage method's documentation

The IncomingMessageIndex parameter specifies the index of the item in the array. The size of the array is controlled by the IncomingMessageCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 C++ Builder Edition - Version 20.0 [Build 8155]