From 61f95bca55ad435b8e58e264a8f1b81ee8fadb03 Mon Sep 17 00:00:00 2001 From: ayeshLK Date: Tue, 27 Aug 2024 17:38:42 +0530 Subject: [PATCH] Update initial value to the match-option --- .../src/main/java/io/ballerina/lib/ibm.ibmmq/CommonUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/main/java/io/ballerina/lib/ibm.ibmmq/CommonUtils.java b/native/src/main/java/io/ballerina/lib/ibm.ibmmq/CommonUtils.java index 475441f..c49e6d8 100644 --- a/native/src/main/java/io/ballerina/lib/ibm.ibmmq/CommonUtils.java +++ b/native/src/main/java/io/ballerina/lib/ibm.ibmmq/CommonUtils.java @@ -319,7 +319,7 @@ public static MQGetMessageOptions getMqGetMsgOptions(GetMessageOptions getMsgOpt return mqGetMsgOptions; } - int matchOpt = 0; + int matchOpt = MQConstants.MQMO_NONE; if (Objects.nonNull(matchOptions.messageId())) { matchOpt |= MQConstants.MQMO_MATCH_MSG_ID; }