免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4485 | 回复: 16
打印 上一主题 下一主题

请教一个perl处理MQ消息的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-06-30 00:08 |只看该作者 |倒序浏览
系统A通过MQ传送数据到系统B的MQ,系统B再从B的MQ获取数据

由于某些原因系统A的MQ的通道因某些原因经常被堵塞,导致数据传送失败
想使用perl直接发消息到系统B的MQ,不知道可有实现方法???

论坛徽章:
1
辰龙
日期:2014-05-15 19:37:15
2 [报告]
发表于 2012-06-30 10:11 |只看该作者
MQ 是指消息队列吗?
正常的情况,在系统中一个消息队列的服务器就好了,所以你只需要连一个就行了.基本上常见的消息队列 Perl 都有客户端,本地和网络连接都是一样的.

论坛徽章:
0
3 [报告]
发表于 2012-06-30 11:28 |只看该作者
有道理,MQ是 IBM WebSphere MQ ,不过我找到一个MQservice的模块可以处理MQ的消息,但是安装的时候提示
No libmqm server library found, MQServer disabled
Support for MQServer is disabled on this platform.
不知道如何解决这个问题。。。还烦请各位perl大侠赐教~~~不甚感激呀~~~~
Unrecognized architecture [MSWin32-x86-multi-thread] and compiler [cl]. Not setting rpath.
Note (probably harmless): No library found for -lmqicg
Note (probably harmless): No library found for -lmqic
Note (probably harmless): No library found for -lmqic32
Note (probably harmless): No library found for -lmqmcs
Note (probably harmless): No library found for -lmqmzse
Writing Makefile for MQClient::MQSeries
Writing MYMETA.yml
Writing Makefile for MQSeries::Message:eadLetter
Writing MYMETA.yml
Writing Makefile for MQSeries::Message:CF
Writing MYMETA.yml
No libmqm server library found, MQServer disabled
Support for MQServer is disabled on this platform.
Warning: Guessing NAME [MQServer] from current directory name.
Writing Makefile for MQSeries
Writing MYMETA.yml

论坛徽章:
0
4 [报告]
发表于 2012-06-30 14:00 |只看该作者
执行第一步就出现错误,,,太悲催了,,,
D:\MQSeries-1.33>perl Makefile.PL
Unrecognized architecture [MSWin32-x86-multi-thread] and compiler [cl]. Not setting rpath.
Note (probably harmless): No library found for -lmqicg
Note (probably harmless): No library found for -lmqic
Note (probably harmless): No library found for -lmqic32
Note (probably harmless): No library found for -lmqmcs
Note (probably harmless): No library found for -lmqmzse
Writing Makefile for MQClient::MQSeries
Writing MYMETA.yml
Writing Makefile for MQSeries::Message:eadLetter
Writing MYMETA.yml
Writing Makefile for MQSeries::Message:CF
Writing MYMETA.yml
No libmqm server library found, MQServer disabled
Support for MQServer is disabled on this platform.
Warning: Guessing NAME [MQServer] from current directory name.
Writing Makefile for MQSeries
Writing MYMETA.yml

论坛徽章:
2
CU大牛徽章
日期:2013-04-17 11:46:28CU大牛徽章
日期:2013-04-17 11:46:39
5 [报告]
发表于 2012-06-30 14:05 |只看该作者
不如试试 linux 下?

论坛徽章:
0
6 [报告]
发表于 2012-06-30 14:18 |只看该作者
由于条件限制。如果要用perl只能在window下实现

哎!!!!!终于找到一个可以处理MQ的模块 居然安装遇到阻碍!

论坛徽章:
0
7 [报告]
发表于 2012-06-30 22:22 |只看该作者
换成strawberry perl居然还不行 报同样的错误

Unrecognized architecture [MSWin32-x86-multi-thread] and compiler [gcc]. Not setting rpath.
Note (probably harmless): No library found for -lmqicg
Note (probably harmless): No library found for -lmqic
Note (probably harmless): No library found for -lmqic32
Note (probably harmless): No library found for -lmqmcs
Note (probably harmless): No library found for -lmqmzse
Writing Makefile for MQClient::MQSeries
Writing Makefile for MQSeries::Message:eadLetter
Writing Makefile for MQSeries::Message:CF
No libmqm server library found, MQServer disabled
Support for MQServer is disabled on this platform.
Warning: Guessing NAME [MQServer] from current directory name.
Writing Makefile for MQSeries

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
8 [报告]
发表于 2012-06-30 23:00 |只看该作者
很显然,你首先需要一个 MQ 的开发包。

你之前做过 C 的开发吗?
你是一名研发人员吗?
如果是的话,这个问题我就有信心解决。

论坛徽章:
0
9 [报告]
发表于 2012-06-30 23:37 |只看该作者
之前有做过C开发

目前主要是用perl来开发脚本测试工具
方向是白盒测试。。。。。不知楼上问这个有何用意?

论坛徽章:
1
狮子座
日期:2013-12-16 16:09:24
10 [报告]
发表于 2012-06-30 23:55 |只看该作者
yum install libmqm
yum install mqm-devel
yum install devel-mqm

。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP