InfoCenter Home > 6.6.0.2.2.4.12: Administering the Java Message Service (JMS)The Java Messaging Service (JMS) enables applications to exchange data in the form of messages. The wscp operations JMSProvider, JMSConnectionFactory and JMSDestination enable you to configure JMS clients from the command line as follows:
The following example command creates a JMS provider. The ExternalInitialContextFactory and ExternalProviderURL attributes are required. wscp> JMSProvider create /JMSProvider:Prov1/ -attribute {{ExternalInitialContextFactory com.ibm.websphere.naming.WsnInitialContextFactory} {ExternalProviderURL iiop://localhost}} The following example command installs a JMS provider on the node dev1: wscp> JMSProvider install /JMSProvider:Prov1/ -node /Node:dev1/ -jarFile "/opt/WebSphere/ApplicationServer/jars/JMS.jar" The following example command creates an instance of a JMS connection factory. The ExternalJNDIName attribute is required. wscp> JMSConnectionFactory create /JMSProvider:Prov1/JMSConnectionFactory:connect1/ -attribute {{ExternalJNDIName jms/connect1}} The following example command creates an instance of a JMS destination. The ExternalJNDIName attribute is required. wscp> JMSDestination create /JMSProvider:Prov1/JMSDestination:dest1/ -attribute {{ExternalJNDIName jms/dest1}} For more information, see Administering messaging and JMS providers. |
| ||
|