createmq command
You can use the createmq command to create a queue manager
and messaging broker for embedded messaging.
On an Application Server node, the createmq command creates the
queue manager and messaging broker for use by the specified application server.
On a node in a deployment manager cell, the createmq command creates
the queue manager and messaging broker for use by the specified JMS server
(jmsserver).
Note:
- This command is not intended for general administration of queue managers
and messaging brokers. You should only use this command where instructed in
task descriptions, for exampleRunning an Application Server and node agent from a non-root user, or on
advice from your IBM representative.
- Before running this command, you should stop the specified server.
- On distributed platforms, the command is available as a createmq shell
or batch file in the $WAS_HOME\bin directory for the Application Server installation.
(On a deployment manager node, this is not the Network Deployment installation.)
On z/OS, the command is available as an SDSF menu option.
The command syntax is as follows:
createmq was_home cell_name node_name server_name messaging_dir broker_dir
Parameters:
- was_home
- The $WAS_HOME directory, where WebSphere Application Server is installed.
- cell_name
- The name of the cell within which the queue manager is to exist.
- node_name
- The name of the node agent that the queue manager is to run with.
- server_name
- The name of the server that is to use the queue manager.
On Application
Server, this is the name of an application server.
On Network Deployment,
this is jmsserver for the JMS server.
- messaging_dir
- The directory where embedded messaging is installed; for example, on Windows C:\WebSphere\WebSphere
MQ
- broker_dir
- The directory where the embedded messaging broker (WEMPS) is installed;
for example, on Windows C:\WebSphere\WebSphere MQ\WEMPS
You can see details of the Queue Manager creation in the file $WAS_HOME\logs\createMQ.node_name.server_name.log.
Example For Application Server on Windows:
createmq "C:\WebSphere\AppServer" BG4IPL BG4IPL server1 "C:\WebSphere\WebSphere MQ" "C:\WebSphere\WebSphere MQ\WEMPS"
The results of this command would be output to the file C:\WebSphere\AppServer\log\createMQ.BG4IPL_server1.log

Managing using command line tools

deletemq command
Searchable topic ID:
rmj_createmq
Last updated: Jun 21, 2007 8:07:48 PM CDT
WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/rmj_createmq.html