WAS v8.5 > Script the application serving environment (wsadmin) > Welcome to scripting for Messaging resources > Configure messaging with wsadmin scriptingConfigure resources for WebSphere MQ messaging provider
We can use these commands to manage JMS resources for the WebSphere MQ messaging provider. We can enter commands into a wsadmin command session to create connection factories, activation specifications, queues, and topics. These commands provide an alternative to using the dmgr console or the more complex syntax of wsadmin and JACL.
- Open a wsadmin command session in local mode. For example, enter: wsadmin -conntype none.
- Create the required resource by entering the appropriate command:
- To create a connection factory, queue connection factory or topic connection factory use the createWMQConnectionFactory command. For more information, see createWMQConnectionFactory command.
- To create an activation specification use the createWMQActivationSpec command. For more information, see:createWMQActivationSpec command.
- To create a queue use the createWMQQueue command. For more information, see createWMQQueue command.
- To create a topic use the createWMQTopic command. For more information, see createWMQTopic command.