From 8f1f8b03de8f011cf9ed73429ab96774ebc85d1b Mon Sep 17 00:00:00 2001 From: ayeshLK Date: Mon, 30 Oct 2023 16:20:23 +0530 Subject: [PATCH] Fix logic issue in saving native-queue in the bobject --- .../src/main/java/io/ballerina/lib/ibm.ibmmq/QueueManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/main/java/io/ballerina/lib/ibm.ibmmq/QueueManager.java b/native/src/main/java/io/ballerina/lib/ibm.ibmmq/QueueManager.java index 85a4780..846b102 100644 --- a/native/src/main/java/io/ballerina/lib/ibm.ibmmq/QueueManager.java +++ b/native/src/main/java/io/ballerina/lib/ibm.ibmmq/QueueManager.java @@ -89,7 +89,7 @@ public static Object accessQueue(BObject queueManagerObject, BString queueName, try { MQQueue mqQueue = queueManager.accessQueue(queueName.getValue(), options.intValue()); BObject bQueue = ValueCreator.createObjectValue(ModuleUtils.getModule(), BQUEUE); - bQueue.addNativeData(Constants.NATIVE_TOPIC, mqQueue); + bQueue.addNativeData(Constants.NATIVE_QUEUE, mqQueue); return bQueue; } catch (MQException e) { return createError(IBMMQ_ERROR,