Configure a new WebSphere queue

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

    Example output:

    Attribute       Type
    name				   String
    jndiName			 String
    

  • Set up required attributes:

    set name [list name WASQ1]
    set jndi [list jndiName jms/WASQ1]
    set wqAttrs [list $name $jndi]
    

    Example output:

    {name WASQ1} {jndiName jms/WASQ1}
    

  • Create was queue:

    $AdminConfig create WASQueue $newjmsp $wqAttrs
    

    Example output:

    WASQ1(cells/cellname/nodes/nodename:resources.xml#WASQueue_1)
    

  • Save changes:

    $AdminConfig save
    

 

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

 

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