Can we write a code in Java to start/stop a queue manager? I haven't come across any Java API which can be used for this.
You can execute strmqm <qm name>
command from your Java program to start the queue manager.
Example:
Runtime.getRuntime().exec("C:\Program Files (x86)\IBM\WebSphere MQ\bin\strmqm QM1");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.