Configure a new JMS provider

  • Identify the parent ID:

    set node [$AdminConfig getid /Cell:cellname/Node:nodename/]
    

    Example output:

    nodename(cells/cellname/nodes/nodename:node.xml#Node_1)
    

  • Get required attributes:

    $AdminConfig required JMSProvider
    

    Example output:

    Attribute        Type
    name					String
    externalInitialContextFactory   	String
    externalProviderURL              	String
    

  • Set up required attributes:

    set name [list name JMSP1]
    set extICF [list externalInitialContextFactory  "Put the external initial context factory here"] 
    set extPURL [list externalProviderURL "Put the external provider URL here"] 
    set jmspAttrs [list $name $extICF $extPURL]
    

    Example output:

    {name JMSP1} {externalInitialContextFactory {Put the external initial context factory here }} {externalProviderURL {Put the external provider URL here}}
    

  • Create the JMS provider:

    set newjmsp [$AdminConfig create JMSProvider $node $jmspAttrs]
    

    Example output:

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

  • Save changes:

    $AdminConfig save
    


Configure a new JMS destination using wsadmin
Configure a new JMS connection using wsadmin
Configure a new WebSphere queue connection factory using wsadmin
Configure a new WebSphere topic connection factory using wsadmin
Configure a new WebSphere queue using wsadmin
Configure a new WebSphere topic using wsadmin
Configure a new MQ queue connection factory using wsadmin
Configure a new MQ topic connection factory using wsadmin
Configure a new MQ queue using wsadmin
Configure a new MQ topic using wsadmin

 

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.