Skip to content

Commit

Permalink
Update Ballerina types to support all the possible charset values
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshLK committed Sep 4, 2024
1 parent 1fc0d41 commit a5359c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ballerina/constants.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion ballerina/types.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5359c0

Please sign in to comment.