Using Jacl:
set newjmsp [$AdminConfig getid /Cell:mycell/Node:mynode/JMSProvider:JMSP1/]
Example output:
JMSP1(cells/mycell/nodes/mynode:resources.xml#JMSProvider_1)
Using Jacl:
$AdminConfig required MQQueueConnectionFactory
Example output:
Attribute Type name String jndiName String
Using Jacl:
set name [list name MQQCF] set jndi [list jndiName jms/MQQCF] set mqqcfAttrs [list $name $jndi]
Example output:
{name MQQCF} {jndiName jms/MQQCF}
Using Jacl:
set template [lindex [$AdminConfig listTemplates MQQueueConnectionFactory] 0]
Example output:
Example non-XA WMQ QueueConnectionFactory(templates/ system:JMS-resource-provider-templates.xml #MQQueueConnectionFactory_3)
Using Jacl:
$AdminConfig createUsingTemplate MQQueueConnectionFactory $newjmsp $mqqcfAttrs $template
Example output:
MQQCF(cells/mycell/nodes/mynode:resources.xml#MQQueueConnectionFactory_1)
Using Jacl:
$AdminConfig save