From c37817a4345f0f02eb58f2cdd31b476d4129b4f3 Mon Sep 17 00:00:00 2001 From: Ondro Mihalyi Date: Thu, 21 Nov 2024 22:13:55 +0100 Subject: [PATCH] Fix target argument in create-jms-resource --- .../main/java/org/glassfish/jms/admin/cli/CreateJMSResource.java | 1 + 1 file changed, 1 insertion(+) diff --git a/appserver/jms/admin/src/main/java/org/glassfish/jms/admin/cli/CreateJMSResource.java b/appserver/jms/admin/src/main/java/org/glassfish/jms/admin/cli/CreateJMSResource.java index bff19eef6c5..7fdef399518 100644 --- a/appserver/jms/admin/src/main/java/org/glassfish/jms/admin/cli/CreateJMSResource.java +++ b/appserver/jms/admin/src/main/java/org/glassfish/jms/admin/cli/CreateJMSResource.java @@ -263,6 +263,7 @@ public void execute(AdminCommandContext context) { aoAttrList.set(DEFAULT_OPERAND, jndiName); aoAttrList.set("restype", resourceType); aoAttrList.set("raname", DEFAULT_JMS_ADAPTER); + aoAttrList.set("target", target); if (enabled != null) { aoAttrList.set("enabled", Boolean.toString(enabled)); }