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,