Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们可以用 Java 编写代码来启动/停止队列管理器吗?我还没有遇到任何可用于此的 Java API。
您可以strmqm <qm name>从 Java 程序执行命令来启动队列管理器。
strmqm <qm name>
例子:
Runtime.getRuntime().exec("C:\Program Files (x86)\IBM\WebSphere MQ\bin\strmqm QM1");