Configure a new MQ topic connection factory using wsadmin
Using Jacl
set JMSParent [$AdminConfig getid /Cell:cell/Node:node/JMSProvider:JMSP1/] $AdminConfig required MQTopicConnectionFactory set name [list name MQTCF] set jndi [list jndiName jms/MQTCF] set mqtcfAttrs [list $name $jndi] $AdminConfig create MQTopicConnectionFactory $JMSParent $mqtcfAttrs $AdminConfig save
Using Jython
JMSParent = AdminConfig.getid('/Cell:cell/Node:node/JMSProvider:JMSP1') print JMSParent print AdminConfig.required('MQTopicConnectionFactory') name = ['name', 'MQTCF'] jndi = ['jndiName', 'jms/MQTCF'] mqtcfAttrs = [name, jndi] print mqtcfAttrs print AdminConfig.create('MQTopicConnectionFactory', JMSParent, mqtcfAttrs) AdminConfig.save()