mocking - 通过 websphere mq 模拟外部系统

标签 mocking ibm-mq messagebroker

我正在开发与消息代理的集成解决方案。解决方案使用websphere mq与后端系统进行通信。在开发过程中,我无法访问真正的后端服务,因此我必须以某种方式模拟它。模拟实现必须从队列中读取消息,执行简单的转换,然后将消息放回队列。为了实现这一目标,我考虑过创建单独的消息流,但我实际上正在寻找的是现成的解决方案,我可以利用这些任务来实现。

有人知道可能对此目的有用的工具吗?

最佳答案

建立您自己的 QMgr 怎么样?或者甚至是您自己的经纪人和 QMgr?根据最新版本的 WebSphere Message Broker 的许可条款,任何拥有单一付费许可证的人都有权在开发人员桌面(Windows 和 Linux)上安装任何或所有代理组件。 Infocetner License Requirements主题状态:

Your license also covers use of the product for development and unit test purposes. All developers in your organization, who are working on resources and applications for WebSphere Message Broker, can install one copy of all components on their computer. They can create and configure a broker environment without any functional or resource restrictions. Installation of the WebSphere Message Broker Toolkit limits this use to Windows, Linux on x86, and Linux on x86-64 computers. The unit test environment is limited to these three platforms even if you have purchased a license for WebSphere Message Broker for z/OS.

关于mocking - 通过 websphere mq 模拟外部系统,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12685657/

相关文章:

.net - 重用 IBM.WMQ.MQQueue 对象

java - JMS 客户端确认模式下的保证交付如何工作?

java - ScheduledThreadPoolExecutor 的单元测试

java - Mockito 模拟 ObjectOutputStream.writeObject 时出现 NullPointerException?

esb - 在 DEV、QA 和 PROD 环境之间移动 IBM Message Broker 组件的最佳方法是什么?

ssl - 更改 channel 失败,出现 AMQ8242 : SSLCIPH definition wrong

python - RabbitMQ:双向联合代理,如何让所有队列弹出消息?

rabbitmq - 如何通过 RabbitMQ 发送类似 word 的文件

ruby-on-rails - Rspec 新手 : Quick example of nested controller test?

grails - 模拟标准计数api grails/groovy