Skip to content

Commit

Permalink
Fix logic issue in saving native-queue in the bobject
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshLK committed Oct 30, 2023
1 parent 507f67c commit 8f1f8b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8f1f8b0

Please sign in to comment.