Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

Anchor
1117909
1117909
The following figure illustrates the Universal Command options to execute the JMS Connector Publish operation.

Panel

Html bobswift

<pre>
-script OutboundJMS_Queues_Options.txt
-script_type SERVICE
-host server1
-login YES
-userid abc
-pwd 123
</pre>

 

Script File

Anchor
1117939
1117939
The following figure illustrates the script file.

Panel

Html bobswift

<pre>
-protocol JMS
-mep Publish
-serviceurl iiop://server1:2809
-jmsdestination jms/IntegrationTestQueue1
-jmsconnectionfactoryname jms/ConnectionFactory
-jmscontextfactoryname com.ibm.websphere.naming.WsnInitialContextFactory
-jmspropertiesfile xml/websphere.properties.xml
</pre>


Note
titleNote

The script file illustrated above is the argument to the -script (SCRIPT_FILE) option for Universal Command shown in the first figure.

...

Anchor
1117981
1117981
The command options shown in the first figure can be saved in a file and invoked with Universal Command via the -file (COMMAND_FILE_PLAIN) option, as shown in the following figure.

Panel

Html bobswift

<pre>
ucmd -file OutboundJMS_Queues_Invoke2.txt < JMSPayLoad.xml
</pre>