gpt4 book ai didi

.net使用IBM MQ,而没有完整的MQ客户端安装

转载 作者:行者123 更新时间:2023-12-04 05:21:16 25 4
gpt4 key购买 nike

所有文档和信息均表明,我们必须在要使用它的机器上安装MQ系列客户端。

有谁知道一个允许我们在不需要本地安装的.net项目中包含MQ系列支持的DLL(或其他任何东西)?

最佳答案

更新了有关官方IBM MQ Redistributable Client的信息。

摘抄:

From IBM MQ Version 8.0.0, Fix Pack 4, native redistributable client runtime libraries are provided for Linux x86-64 and Windows 64-bit platforms to make it simple to distribute both applications and the required IBM MQ runtime libraries. A third package, which is not platform-specific, contains the runtime files that are required for the Java™/JMS applications, including the IBM MQ resource adapter for JMS applications that are running under an application server.

The redistributable client that is supplied with IBM MQ is also a non-installed and relocatable image. Maintenance of a redistributable, non-installed image, is achieved through replacement; that is, you download newer versions of the runtime components when they are shipped.

A redistributable client implies distributing the required run time with an application both inside and outside of your environment.

A relocatable client implies putting the files somewhere else other than a fixed default location. For example, instead of installing into /opt/ installing into /usr/local.

A non-installed client implies that you are not required to lay down client files, and that these files can be copied as required.

The IBM IPLA license agreement is extended for IBM MQ to enable you to download a number of additional runtime files from Fix Central.

From IBM MQ Version 9.0.5, XMS .NET is shipped as part of the redistributable client. XMS .NET requires the IBM MQ .NET client (amqmdnet.dll). If unmanaged mode is to be used, then the IBM MQ C client libraries are also needed along with amqmdnet.dll.



另请参见 Redistributable clients on Windows页面,该页面解释了如何生成用于重新分发的软件包,并指出:“IBM支持只能对包含在可重新分发的客户端软件包中的完整的,未修改的文件集提供帮助。”该页面讨论了在不需要管理员特权即可安装的软件中分发库的方法。

您需要一个IBM ID才能从Fix Central下载可重新分发的MQ客户机,但是该下载是免费的,并且在连接到受支持的MQ Server实例时,完全按照IBM的说明打包该下载文件。

先前接受的关于Java库的包装的答案仍然有效,但是需要注意的是,如果需要IBM支持,则需要IBM的Java客户端安装。幸运的是,现在它也来自一个更友好的单 jar 程序包,名为allclient.jar,它是 documented here。 IBM现在还记录了可​​以从MQ Server安装中重新放置哪些jar文件,并且仍然有资格获得全面支持。在 What is installed for IBM MQ classes for JMS页面上对此进行了讨论。

关于.net使用IBM MQ,而没有完整的MQ客户端安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5419978/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com