Configure a new MQ queue 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 MQQueueConnectionFactory
    

    Example output:

    Attribute       Type
    name				   String
    jndiName			 String
    

  • Set up required attributes:

    set name [list name MQQCF]
    set jndi [list jndiName jms/MQQCF]
    set mqqcfAttrs [list $name $jndi]
    

    Example output:

    {name MQQCF} {jndiName jms/MQQCF}
    

  • Create was topic:

    $AdminConfig create MQQueueConnectionFactory $newjmsp $mqqcfAttrs
    

    Example output:

    MQQCF(cells/cellname/nodes/nodename:resources.xml#MQQueueConnectionFactory_1)
    

  • Save changes:

    $AdminConfig save
    

 

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