Configuring messaging with wsadmin scripting
Use these topics to learn about configuring messaging with the wsadmin tool. You can configure the message listener service, Java™ Messaging Service settings, queue and connection factories, and IBM MQ settings.
About this task
You can use the wsadmin tool to configure various messaging connections and settings.
Procedure
- Configure the message listener service.
The message listener service is an extension to the JMS functions of the JMS provider. It provides a listener manager that controls and monitors one or more JMS listeners, which each monitor a JMS destination on behalf of a deployed message-driven bean.
- Configure Java Messaging
Service (JMS) providers, destinations, and connections.
The application server supports asynchronous messaging through the use of a JMS provider and its related messaging system. You can use the wsadmin tool to configure new JMS providers, destinations, and connections.
A JMS destination is used to configure the properties for the associated messaging provider. Connections to the JMS destination are created by the associated JMS connection factory. A JMS connection factory is used to create connections to the associated JMS provider of JMS destinations, for both point-to-point and publish/subscribe messaging.
- Configure queue and topic connection factories for the application server. Use queue and topic connection factories to create connections between providers and destinations. A queue connection factory creates a connection to the associated JMS provider of the JMS queue destinations, for point-to-point messaging. A topic connection factory creates a connection to the associated JMS provider of JMS topic destinations, for publish and subscribe messaging.
- Configure IBM MQ settings. A IBM MQ server represents either a IBM MQ queue manager or a IBM MQ queue sharing group. It is used by service integration bus messaging to define properties used for connecting to IBM MQ. Setting up a IBM MQ server involves using the administrative console to create the server definition, add it to a service integration bus, and create a IBM MQ queue type destination.
Subtopics
Configuring resources for the default messaging provider by using the wsadmin tool
You can use these commands to manage JMS resources for the default messaging provider.Configuring resources for IBM MQ messaging provider
You can use these commands to manage JMS resources for the IBM MQ messaging provider.Configuring the message listener service by using scripting
Use scripting to configure the message listener service.Configuring new JMS providers by using scripting
You can use the wsadmin tool and scripting to configure a new Java Message Service (JMS) provider.Configuring new JMS destinations by using scripting
You can use scripting and the wsadmin tool to configure a new Java Message Service (JMS) destination.Configuring new JMS connections by using wsadmin scripting
Use the wsadmin scripting tool to configure a new Java Message Service (JMS) connection.Configuring new queue connection factories by using scripting
You can use scripting and the wsadmin tool to configure new queue connection factories in WebSphere Application Server.Configuring new topic connection factories by using scripting
Use scripting and the wsadmin tool to configure new topic connection factories.Configuring new queues by using scripting
You can use scripting to configure a new queue.Configuring new topics by using scripting
You can configure new topics by using the wsadmin tool and scripting.JCAManagement command group for the AdminTask object
You can use the Jython or Jacl scripting languages to configure messaging with scripting. The commands and parameters in the JCA management group can be used to create and manage resource adapters, Java EE Connector Architecture (J2C) activation specifications, administrative objects, connection factories, administrative object interfaces, and message listener types.


File name: txml_messaging.html