Configure a new JMS connection

  • Identify the parent ID:

    set newjmsp [$AdminConfig getid /Cell:cellname/Node:myNode/JMSProvider:JMSP1]
    

    Example output:

    JMSP1(cells/cellname/nodes/nodename:resources.xml#JMSProvider_1)
    

  • Get required attributes:

    $AdminConfig required GenericJMSConnectionFactory
    

    Example output:

    Attribute       Type
    name				   String
    jndiName			 String
    externalJNDIName		String
    

  • Set up required attributes:

    set name [list name JMSCF1]
    set jndi [list jndiName jms/JMSConnFact1]
    set extJndi [list externalJNDIName jms/extJMSCF1]
    set jmscfAttrs [list $name $jndi $extJndi]
    

    Example output:

    {name JMSCF1} {jndiName jms/JMSConnFact1} {externalJNDIName jms/extJMSCF1}
    

  • Create generic JMS connection factory:

    $AdminConfig create GenericJMSConnectionFactory $newjmsp $jmscfAttrs
    

    Example output:

    JMSCF1(cells/cellname/nodes/nodename:resources.xml#GenericJMSConnectionFactory_1)
    

  • Save changes:

    $AdminConfig save
    

 

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