listSIBJMSConnectionFactories command

Use the listSIBJMSConnectionFactories command to list all JMS connection factories for the default messaging provider at a specific scope.

To run the command, use the AdminTask object of the wsadmin scripting client.

[IBM i][IBM i]The wsadmin scripting client is run from Qshell. [IBM i]For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.

Command-line help is provided for service integration bus commands:
  • For a list of the available service integration bus JMS commands in Jython and a brief description of each command, enter the following command at the wsadmin prompt:

    print AdminTask.help('SIBJMSAdminCommands')

  • For overview help on a given command, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

Purpose

This command lists all JMS connection factories for the default messaging provider at a specific scope

Target object

Scope of the default messaging provider at which the JMS connection factories were created.

Required parameters

None.

Optional parameters

-type
The -type parameter is used to filter the list of connection factories.
Select one of the following values:
all
List all JMS connection factories (generic, queue, and topic) at the specified scope.
queue
List all JMS queue connection factories at the specified scope.
topic
List all JMS topic connection factories at the specified scope.

If the -type parameter is not supplied, then only generic JMS connection factories at the scope are listed.

Example

  • Using Jython:
    wsadmin>AdminConfig.getid("/Node:9994GKCNode01" )
    '9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)'
    
    AdminTask.listSIBJMSConnectionFactories("9994GKCNode01(cells/9994GKCNode01Cell/
    nodes/9994GKCNode01|node.xml#Node_1)")
    'qcf1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#
    J2CConnectionFactory_1098730054140)'
  • Using Jacl:
    wsadmin>$AdminConfig getid /Node:9994GKCNode01
    9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)
    
    wsadmin>$AdminTask listSIBJMSConnectionFactories 
    9994GKCNode01(cells/9994GKCNode01Cell/nodes/9994GKCNode01|node.xml#Node_1)
    qcf1(cells/9994GKCNode01Cell/nodes/9994GKCNode01|resources.xml#
    J2CConnectionFactory_1098730054140)

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: March 5, 2017 17:54
File name: rjn_jmscf_list.html