此内容没有您所选择的语言版本。

9.12. QMF Client Connection Events


Whenever a client connects to or disconnects from the broker, a QMF Event message is generated and sent to a QMF topic.
The QMF topics for these events are:
Expand
Table 9.2. QMF Client Connection Event Topics
QMF queue Purpose
qmf.default.topic/agent.ind.event.org_apache_qpid_broker.clientConnect.#
Client connections
qmf.default.topic/agent.ind.event.org_apache_qpid_broker.clientConnectFail.#
Failed connection attempts
qmf.default.topic/agent.ind.event.org_apache_qpid_broker.clientDisconnect.#
Client disconnections
Additional properties in the QMF Client Connection and Disconnection event messages match connections and disconnections to specific clients to enable auditing and troubleshooting:
  • client_ppid [1]
  • client_pid
  • client_process
Here is an example of a QMF client connection event message, demonstrating the client connection information:
Fetched Message(
   properties={
      u'qmf.agent': u'apache.org:qpidd:a2ff61bc-19b2-4078-8a7e-9c007151c79c', 
      'x-amqp-0-10.routing-key': u'agent.ind.event.org_apache_qpid_broker.clientConnect.info.apache_org.qpidd.a2ff61bc-19b2-4078-8a7e-9c007151c79c', 
      'x-amqp-0-10.app-id': 'qmf2',
       u'qmf.content': u'_event', 
       u'qmf.opcode': u'_data_indication', 
       u'method': u'indication'}, 
       content=[{
          u'_schema_id': {
             u'_package_name': 'org.apache.qpid.broker', 
             u'_class_name': 'clientConnect', 
             u'_type': '_event', 
             u'_hash': UUID('476930ed-01dd-9629-7f84-f42b4b0bc410')}, 
         u'_timestamp': 1347032560197086881, 
         u'_values': {
            u'user': 'anonymous', 
            u'properties': {
               u'qpid.session_flow': 1, 
               u'qpid.client_ppid': 26139, 
               u'qpid.client_pid': 26876, 
               u'qpid.client_process': u'spout'}, 
           u'rhost': '127.0.0.1:5672-127.0.0.1:43276'}, 
       u'_severity': 6}])
    
Fri Sep  7 15:42:40 2012 org.apache.qpid.broker:clientConnect user=anonymous properties={
   u'qpid.session_flow': 1, 
   u'qpid.client_ppid': 26139, 
   u'qpid.client_pid': 26876, 
   u'qpid.client_process': u'spout'} 
rhost=127.0.0.1:5672-127.0.0.1:43276
Copy to Clipboard Toggle word wrap


[1] Not available in the Java client
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat