檢測客戶端連接上的 MQ 操作 (Detecting MQ operations on client connection)


問題描述

檢測客戶端連接上的 MQ 操作 (Detecting MQ operations on client connection)

想像一個運行在服務器 (S1) 上的應用程序 (A1) 與運行在不同服務器 (S2) 上的隊列管理器 (QM1) 建立客戶端連接。是否可以擴展隊列管理器的功能,以便當應用程序對隊列管理器上的隊列進行 MQGET 或 MQPUT 調用時,可以將消息記錄到日誌文件或執行一些自定義操作?

謝謝,

Yash


參考解法

方法 1:

An API Exit can be used to log the API calls made by an application. This API exit can run on either S1 or S2 from your question.

The sample API Exit supplied with MQ (amqsaxe) would be a good starting point as that's all it does.

Remember that this will have a detrimental effect on the performance of your application.

Further Reading

(by YashMorag Hughson)

參考文件

  1. Detecting MQ operations on client connection (CC BY‑SA 2.5/3.0/4.0)

#ibm-mq






相關問題

將 WebSphere MQ 與 Twisted 一起使用 (Using WebSphere MQ with Twisted)

Websphere MQ 和高可用性 (Websphere MQ and High Availability)

Cara menghapus informasi header pesan di pesan yang dikelompokkan WebSphere MQ saat menerima di .Net client (How to remove the message header informations in WebSphere MQ grouped message while receving in .Net client)

crtmqm:找不到命令 (crtmqm: command not found)

Cách lấy tên hàng đợi MQSeries trong .NET mà không có 2068 (How to get MQSeries queuename in .NET without 2068)

在 MQ Java 客戶端中使用 SSL 時出錯 (Error while using SSL in MQ java client)

檢測客戶端連接上的 MQ 操作 (Detecting MQ operations on client connection)

JMS API 不能瀏覽消息,IBM API 可以 (JMS API cannot browse messages, IBM API can)

Web Sphere + IMessageConsumer + 接收消息 (Web Sphere + IMessageConsumer + receiving messages)

如何配置 IIB 10 以將 monitoring_event 消息作為持久性 MQ 隊列發布? (How to configure IIB 10 to publish monitoring_event messages as persisitent to persistent MQ queue?)

spring boot jms - 在@JmsListner 中發送和接收消息 (spring boot jms - send and receive message inside @JmsListner)

如何使用 JMeter 將 XML 文件發送到 IBM MQ? (How to send the XML file using JMeter to IBM MQ?)







留言討論