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.
- listGenericJMSConnectionFactories
- listGenericJMSConnectionFactoryTemplates
- listGenericJMSDestinations
- listGenericJMSDestinationTemplates
- listJMSProviders
- listJMSProviderTemplates
- listWASQueueConnectionFactoryTemplates
- listWASQueueTemplates
- listWASTopicConnectionFactoryTemplates
- listWASQueueConnectionFactories
- listWASQueues
- listWASTopicConnectionFactories
- listWASTopics
- listWASTopicTemplates
listGenericJMSConnectionFactories
This script displays a list of configuration IDs for the generic JMS connection factories configured in your environment.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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")