diff --git a/ballerina/constants.bal b/ballerina/constants.bal index 5e82482..1142b66 100644 --- a/ballerina/constants.bal +++ b/ballerina/constants.bal @@ -125,6 +125,9 @@ public const int ENC_FLOAT_IEEE_REVERSED = 512; # Floating-point numbers are represented using the standard zSeries (System/390) floating-point format. public const int ENC_FLOAT_S390 = 768; +# Character data in the message is in the queue manager's character set. +public const int CCSI_Q_MGR = 0; + # ASCII character set public const int CHARSET_ASCII = 850; diff --git a/ballerina/types.bal b/ballerina/types.bal index eb7e5ea..e14c4f5 100644 --- a/ballerina/types.bal +++ b/ballerina/types.bal @@ -23,7 +23,7 @@ public type OPEN_TOPIC_OPTION OPEN_AS_SUBSCRIPTION|OPEN_AS_PUBLICATION; public type Header MQRFH2|MQRFH|MQCIH|MQIIH; # The coded character set used in application message data. -public type MESSAGE_CHARSET CHARSET_ASCII|CHARSET_ASCII_ISO|CHARSET_EBCDIC|CHARSET_UNICODE|CHARSET_UTF8; +public type MESSAGE_CHARSET CCSI_Q_MGR|CHARSET_ASCII|CHARSET_ASCII_ISO|CHARSET_EBCDIC|CHARSET_UNICODE|CHARSET_UTF8; # The SSL Cipher Suite to be used for secure communication with the IBM MQ server. public type SslCipherSuite SSL_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA|SSL_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256