OutgoingMessageValueType Property

This message's value data type.

Syntax

ANSI (Cross Platform)
int GetOutgoingMessageValueType(int iOutgoingMessageIndex);

Unicode (Windows)
INT GetOutgoingMessageValueType(INT iOutgoingMessageIndex);

Possible Values

MVT_NULL(0), 
MVT_BOOLEAN(1),
MVT_UBYTE(2),
MVT_USHORT(3),
MVT_UINT(4),
MVT_ULONG(5),
MVT_BYTE(6),
MVT_SHORT(7),
MVT_INT(8),
MVT_LONG(9),
MVT_FLOAT(10),
MVT_DOUBLE(11),
MVT_DECIMAL(12),
MVT_CHAR(13),
MVT_TIMESTAMP(14),
MVT_UUID(15),
MVT_BINARY(16),
MVT_STRING(17),
MVT_SYMBOL(18),
MVT_JSON(19)
- (int)outgoingMessageValueType:(int)outgoingMessageIndex;

Possible Values

MVT_NULL(0), 
MVT_BOOLEAN(1),
MVT_UBYTE(2),
MVT_USHORT(3),
MVT_UINT(4),
MVT_ULONG(5),
MVT_BYTE(6),
MVT_SHORT(7),
MVT_INT(8),
MVT_LONG(9),
MVT_FLOAT(10),
MVT_DOUBLE(11),
MVT_DECIMAL(12),
MVT_CHAR(13),
MVT_TIMESTAMP(14),
MVT_UUID(15),
MVT_BINARY(16),
MVT_STRING(17),
MVT_SYMBOL(18),
MVT_JSON(19)
#define PID_AMQP_OUTGOINGMESSAGEVALUETYPE 90

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AMQP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AMQP_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

This message's value data type.

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

The table below shows the possible value types, their descriptions, and how to format the data assigned to OutgoingMessageValue. 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 (OutgoingMessageValue 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 OutgoingMessageIndex parameter specifies the index of the item in the array. The size of the array is controlled by the OutgoingMessageCount 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++ Edition - Version 20.0 [Build 8155]