Configure a new MQ topic
- Identify the parent ID:
set newjmsp [$AdminConfig getid /Cell:cellname/Node:nodename/JMSProvider:JMSP1/]
Example output:
JMSP1(cells/cellname/nodes/nodename:resources.xml#JMSProvider_1)- Get required attributes:
$AdminConfig required MQTopic
Example output:
Attribute Type name String jndiName String baseTopicName String- Set up required attributes:
set name [list name MQT] set jndi [list jndiName jms/MQT] set baseTN [list baseTopicName "Put the base topic name here"] set mqtAttrs [list $name $jndi $baseTN]
Example output:
{name MQT} {jndiName jms/MQT} {baseTopicName {Put the base topic name here}}- Create mq topic factory:
$AdminConfig create MQTopic $newjmsp $mqtAttrs
Example output:
MQT(cells/cellname/nodes/nodename:resources.xml#MQTopic_1)- Save changes:
$AdminConfig save
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.