JMS query scripts

The scripting library provides many script procedures to manage your Java™ Messaging Service (JMS) configurations. See the usage information for scripts that retrieve configuration IDs from your JMS configuration. You can run each script individually or combine many procedures to create custom automation scripts for your environment.

Each JMS management script procedure is located in the app_server_root/scriptLibraries/resources/JMS/V70 directory.

버전 7부터는 Jython 스크립트 라이브러리가 서버 범위에 있는 JDBC 제공자, JMS 자원 및 자원 제공자에 대한 스크립트 기능을 제공합니다. 고유한 사용자 정의 스크립트를 작성하여 셀, 노드 또는 클러스터 레벨에서 자원을 구성할 수 있습니다.
Note: 스크립트 라이브러리에서 스크립트 프로시저를 편집하지 마십시오. 사용자 정의 스크립트 라이브러리 프로시저를 작성하려면, app_server_root/scriptLibraries 디렉토리에 있는 스크립트를 Jython 구문 샘플로 사용하십시오. 라이브러리를 겹쳐쓰지 않도록 사용자 정의 스크립트는 새 서브디렉토리에 저장하십시오.
Fast path: 수정팩 5부터는 Jython 스크립트 라이브러리가 셀, 노드, 서버 또는 클러스터 범위에 있는 JDBC 제공자, JMS 자원 및 자원 제공자에 대한 스크립트 기능을 제공합니다. 자원 제공자에는 메일 제공자, URL 제공자 및 자원 환경 제공자가 포함됩니다. 특정 범위에 있는 자원을 구성하기 위해 사용자 정의 스크립트를 작성할 필요는 없습니다.

listGenericJMSConnectionFactories

This script displays a list of configuration IDs for the generic JMS connection factories configured in your environment.

The script does not require any input parameters.
Table 1. Argument for the listGenericJMSConnectionFactories script. Run the script to list generic JMS connection factories.
Argument Description
connFactoryName Optionally specifies the name of the generic JMS connection factory of interest.

Syntax

AdminJMS.listGenericJMSConnectionFactories(connFactoryName)

Example usage

AdminJMS.listGenericJMSConnectionFactories()
AdminJMS.listGenericJMSConnectionFactories("JMSCFTest")

listGenericJMSConnectionFactoryTemplates

This script displays a list of generic JMS connection factory template configuration ids.

The script does not require any input parameters. However, to return a specific generic JMS connection factory template, specify the template ID argument, as defined in the following table:
Table 2. Argument for the listGenericJMSConnectionFactoryTemplates script. Run the script to list generic JMS connection factory templates.
Argument Description
templateName Optionally specifies the name of the template of interest.

Syntax

AdminJMS.listGenericJMSConnectionFactoryTemplates(templateName)

Example usage

AdminJMS.listGenericJMSConnectionFactoryTemplates()
AdminJMS.listGenericJMSConnectionFactoryTemplates("Generic QueueConnectionFactory for Windows")

listGenericJMSDestinations

This script displays a list of configuration IDs for the generic JMS destinations configured in your environment. The script does not require any input parameters. However, to return a specific generic JMS destination, specify the generic JMS destination name.

The script does not require any input parameters. However, to return a specific generic JMS destination, specify the generic JMS destination name, as defined in the following table:
Table 3. Argument for the listGenericJMSDestinations script. Run the script to list generic JMS destinations.
Argument Description
destinationName Optionally specifies the name of the generic JMS destination of interest.

Syntax

AdminJMS.listGenericJMSDestinations(destinationName)

Example usage

AdminJMS.listGenericJMSDestinations()
AdminJMS.listGenericJMSDestinations("JMSDestination")

listGenericJMSDestinationTemplates

This script displays a list of generic JMS destination template configuration ids.

The script does not require any input parameters. However, to return a specific template, specify the template name, as defined in the following table:
Table 4. Argument for the listGenericJMSDestinationTemplates script. Run the script to list generic JMS destination templates.
Argument Description
templateName Optionally specifies the name of the template of interest.

Syntax

AdminJMS.listGenericJMSDestinationTemplates(templateName)

Example usage

AdminJMS.listGenericJMSDestinationTemplates()
AdminJMS.listGenericJMSDestinationTemplates("Example.JMS.Generic.Win.Topic")

listJMSProviders

This script displays a list of configuration IDs for the JMS providers that are configured in your environment.

The script does not require any input parameters. However, to return a specific JMS provider, specify the JMS provider name, as defined in the following table:
Table 5. Argument for the listJMSProviders script. Run the script to list JMS providers.
Argument Description
jmsProviderName Optionally specifies the name of the generic JMS connection factory of interest.

Syntax

AdminJMS.listJMSProviders(jmsProviderName)

Example usage

AdminJMS.listJMSProviders()
AdminJMS.listJMSProviders("JMSTest")

listJMSProviderTemplates

This script displays a list of JMS provider template configuration ids.

The script does not require any input parameters. However, to return a specific template, specify the template name, as defined in the following table:
Table 6. Argument for the listJMSProviderTemplates script. Run the script to list JMS provider templates.
Argument Description
templateName Optionally specifies the name of the template of interest.

Syntax

AdminJMS.listJMSProviderTemplates(templateName)

Example usage

AdminJMS.listJMSProviderTemplates()
AdminJMS.listJMSProviderTemplates("WebSphere JMS Provider")

listWASQueueConnectionFactoryTemplates

This script displays a list of JMS queue connection factory template configuration ids.

The script does not require any input parameters. However, to return a specific template, specify the template name, as defined in the following table:
Table 7. Argument for the listWASQueueConnectionFactoryTemplates script. Run the script to list JMS queue connection factory templates.
Argument Description
templateName Optionally specifies the name of the template of interest.

Syntax

AdminJMS.listWASQueueConnectionFactoryTemplates(templateName)

Example usage

AdminJMS.listWASQueueConnectionFactoryTemplates()
AdminJMS.listWASQueueConnectionFactoryTemplates("Example WAS QueueConnectionFactory")

listWASQueueTemplates

This script displays a list of JMS queue template configuration ids.

The script does not require any input parameters. However, to return a specific generic template, specify the template name, as defined in the following table:
Table 8. Argument for the listWASQueueTemplates script. Run the script with the template name argument.
Argument Description
templateName Optionally specifies the name of the template of interest.

Syntax

AdminJMS.listWASQueueTemplates(templateName)

Example usage

AdminJMS.listWASQueueTemplates()
AdminJMS.listWASQueueTemplates("Example.JMS.WAS.Q1")

listWASTopicConnectionFactoryTemplates

This script displays a list of JMS topic connection factory template configuration ids.

The script does not require any input parameters. However, to return a specific template, specify the template name, as defined in the following table:
Table 9. Argument for the listWASTopicConnectionFactoryTemplates script. Run the script to list JMS topic connection factory templates.
Argument Description
templateName Optionally specifies the name of the template of interest.

Syntax

AdminJMS.listWASTopicConnectionFactoryTemplates(templateName)

Example usage

AdminJMS.listWASTopicConnectionFactoryTemplates()
AdminJMS.listWASTopicConnectionFactoryTemplates("First Example WAS TopicConnectionFactory")

listWASQueueConnectionFactories

This script displays a list of configuration IDs for the JMS queue connection factories configured in your environment.

The script does not require any input parameters. However, to return a specific JMS queue connection factory, specify the connection factory name, as defined in the following table:
Table 10. Argument for the listWASQueueConnectionFactories script. Run the script to list JMS queue connection factories.
Argument Description
connFactoryName Optionally specifies the name of the JMS connection factory of interest.

Syntax

AdminJMS.listWASQueueConnectionFactories(connFactoryName)

Example usage

AdminJMS.listWASQueueConnectionFactories()
AdminJMS.listWASQueueConnectionFactories("queuecf")

listWASQueues

This script displays a list of JMS queues.

The script does not require any input parameters. However, to return a specific queue, specify the queue name, as defined in the following table:
Table 11. Argument for the listWASQueues script. Run the script to list JMS queues.
Argument Description
queueName Optionally specifies the name of the queue of interest.

Syntax

AdminJMS.listWASQueues(queueName)

Example usage

AdminJMS.listWASQueues()
AdminJMS.listWASQueues("WASQueueTest")

listWASTopicConnectionFactories

This script displays a list of configuration IDs for the JMS topic connection factories configured in your environment.

The script does not require any input parameters. However, to return a specific JMS topic connection factory, specify the connection factory name, as defined in the following table:
Table 12. Argument for the listWASTopicConnectionFactories script. Run the script to list JMS topic connection factories.
Argument Description
connFactoryName Optionally specifies the name of the JMS topic connection factory of interest.

Syntax

AdminJMS.listWASTopicConnectionFactories(connFactoryName)

Example usage

AdminJMS.listWASTopicConnectionFactories()
AdminJMS.listWASTopicConnectionFactories("TopicCFTest")

listWASTopics

This script displays a list of configuration IDs for the JMS topics configured in your environment.

The script does not require any input parameters. However, to return a specific topic, specify the topic name, as defined in the following table:
Table 13. Argument for the listWASTopics script. Run the script to list JMS topics.
Argument Description
topicName Optionally specifies the name of the topic of interest.

Syntax

AdminJMS.listWASTopics(topicName)

Example usage

AdminJMS.listWASTopics()
AdminJMS.listWASTopics("TopicTest")

listWASTopicTemplates

This script displays a list of JMS topic template configuration ids.

The script does not require any input parameters. However, to return a specific template, specify the template name, as defined in the following table:
Table 14. Argument for the listWASTopicTemplates script. Run the script to list JMS topic templates.
Argument Description
templateName Optionally specifies the name of the template of interest.

Syntax

AdminJMS.listWASTopicTemplates(templateName)

Example usage

AdminJMS.listWASTopicTemplates()
AdminJMS.listWASTopicTemplates("Example.JMS.WAS.T1")

주제 유형을 표시하는 아이콘 참조 주제



시간소인 아이콘 마지막 업데이트 날짜: July 9, 2016 6:09
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rxml_7adminjms2
파일 이름:rxml_7adminjms2.html