WebSphere MQ 7,我可以用一台机器向远程队列发送消息吗
我是 WebSphere MQ 的新手。我正在练习IBM站点上的教程,我想知道我是否需要两台单独的计算机来向远程队列发送消息? 我正在使用笔记本电脑,我想知道是否创建另一个用户帐户,我可以使用该用户帐户将消息发送到远程队列吗?
I'm new to WebSphere MQ. I was practicing the tutorials on the IBM site, I want to know if I need two separate computer machines to send a message to a remote queue?
I'm using a laptop, I was wondering if I create another user account, can I use that user account to send message to a remote queue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
WebSphere MQ 术语中的远程队列只是存在于另一个队列管理器上的队列。您不需要另一台服务器,甚至也不需要另一个帐户。只需在同一台服务器上的同一帐户下定义两个队列管理器并将它们连接起来即可。
只要资源允许,您可以在一台机器上拥有任意数量的 QMgrs。我发现有人在一台服务器上拥有多达 20 个 QMgrs,但建议的数量是 1 个。
如果您有 WMQ v7.0 或更早版本,则一台计算机上只能安装一次 WMQ。如果您有 v7.1(撰写本文时为最新版本),则可以在同一台计算机上进行多个安装。但无论哪种方式,该计算机上的所有 QMgrs 都在
mqm
帐户下运行(或者在 Windows 上,无论您在什么帐户下安装和运行 WMQ)。A remote queue in WebSphere MQ terms is simply a queue that exists on another queue manager. You do not need another server, nor even another account. Just define two queue managers on the same server, under the same account and connect them.
You can have as many QMgrs on one machine as resources allow. I have seem people with as many as 20 QMgrs on a server but one is the recommended number.
If you have WMQ v7.0 or earlier you can have only one installation of WMQ on a machine. If you have v7.1, which is current as of this writing, then it is possible to have multiple installations on the same machine. But either way, all QMgrs on that machine run under the
mqm
account (or on Windows, whatever account you installed and run WMQ under).