简体   繁体   English

如何使用C API在Linux下构建独立的MQSeries客户端?

[英]How can I build a standalone MQSeries client under Linux using the C API?

IBM offer an installable MQSeries Client software that allows you to access queue managers on remote hosts. IBM提供可安装的MQSeries客户端软件,允许您访问远程主机上的队列管理器。 They also offer some C-callable libraries that let you do messaging from a C application. 它们还提供了一些C可调用库,使您可以从C应用程序进行消息传递。

My problem is that I don't have admin access on the hosts I plan to test-deploy on, and getting an application installed comes with bigtime Enterprise hassle. 我的问题是我在我计划测试部署的主机上没有管理员访问权限,并且安装应用程序会带来bigtime Enterprise的麻烦。 IBM, meanwhile, acts as if there's no alternative to installing their whole client package. 与此同时,IBM似乎没有其他方法可以安装整个客户端软件包。 Assuming I'm willing to forgo their support, can I get around this? 假设我愿意放弃他们的支持,我可以解决这个问题吗? ie is there some set of objects/libraries I can link with to produce a standalone client? 即是否有一些我可以链接的对象/库来生成一个独立的客户端?

From v8.0.0.4 onwards, IBM provides set of libraries as a zip/tar and you don't need to install whole client package. 从v8.0.0.4开始,IBM提供了一组库作为zip / tar,您无需安装整个客户端软件包。 See here: http://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ins.doc/q122882_.htm . 请参见: http//www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ins.doc/q122882_.htm

But you still need queue manager running somewhere to test your application. 但您仍然需要在某个地方运行队列管理器来测试您的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM