天天看点

【原创】IBM MQ触发条件解读 IBM MQ Triggering Conditions Interpretation

IBM MQ的触发机制可实现当消息到达队列时(或满足一定队列深度时)触发启动本机的MQ通道、应用程序、远程机器上的应用程序等对象,以达到更灵活的程序部署模式以及异步消息处理的目的。在实际项目中,作者经常被客户问到诸如在什么条件下MQ才会生成触发消息等问题,然后由于MQ触发类型较多(首条消息触发、每条触发、队列深度触发),而MQ本身的产品文档所罗列的条件相当的繁杂和不易排查,因此作者对常用的触发条件 用思维导图的形式、并结合逻辑与/或的关系进行了总结(如下图所示)。至于更复杂、更高级的触发条件仍建议读者参考产品文档中的说明 ( http://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.dev.doc/q026930_.htm)。

The triggering feature of IBM MQ can help you to achieve trigger starting local MQ channels, local applications or remote applications when messages arrive queue (or queue reaching certain depth). In this way you can deploy your applications flexibly and consume messages asynchronously. In actual projects, I’ve been frequently asked by customers about the conditions of generating trigger messages by MQ. However, since there are so many types of MQ triggering, and the conditions listed in MQ product documentation are quite complex and not easy for trouble shooting, so I have leveraged the mind map and the AND/OR logic to summarize common MQ trigger conditions as below. As for more complex/advanced trigger conditions, I still suggest you to refer to the MQ documentation about trigger conditions ( http://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.dev.doc/q026930_.htm).

【原创】IBM MQ触发条件解读 IBM MQ Triggering Conditions Interpretation
【原创】IBM MQ触发条件解读 IBM MQ Triggering Conditions Interpretation
【原创】IBM MQ触发条件解读 IBM MQ Triggering Conditions Interpretation

继续阅读