Configure a new MQ topic connection factory

  • 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 MQTopicConnectionFactory
    

    Example output:

    Attribute       Type
    name				   String
    jndiName			 String
    

  • Set up required attributes:

    set name [list name MQTCF]
    set jndi [list jndiName jms/MQTCF]
    set mqtcfAttrs [list $name $jndi]
    

    Example output:

    {name MQTCF} {jndiName jms/MQTCF}
    

  • Create mq topic connection factory:

    $AdminConfig create MQTopicConnectionFactory $newjmsp $mqtcfAttrs
    

    Example output:

    MQTCF(cells/cellname/nodes/nodename:resources.xml#MQTopicConnectionFactory_1)
    

  • Save changes:

    $AdminConfig save
    

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.