zoukankan      html  css  js  c++  java
  • Tibco EMS Message trace

    How to enable tracing on EMS client?

    https://docs.tibco.com/pub/ems/8.5.1/doc/html/GUID-2B37CFD5-72A1-4B38-AF71-D756E59DB4A8.html

    client_trace = {enabled|disabled} [target=location]
                   [user|connid|clientid=value]

    tibemsd.conf

    logfile_max_size =
    log_trace = DEFAULT,-ADMIN,+SSL,CL, ADMIN, ALL, AUTH, CONFIG, CONNECT, CONNECT_ERROR, DBSTORE, DEFAULT, DEST, FLOW, INFO, JAAS, JVM, JVMERR, LDAP_DEBUG,LIMITS, LOAD, MEMORY, MSG, MULTICAST, PRODCONS, ROUTE, ROUTE_DEBUG, RVADV, SS, SSL, SSL_DEBUG, TX, WARNING
    console_trace =
    client_trace=enabled
    

      

    .net library 調用tibco.ems.dll 的時候,可以加上下面的語句將trace的信息輸出到文件

    TIBCO.EMS.Trace.SetTraceFile(AppDomain.CurrentDomain.BaseDirectory + "\Logs\EmsTrace.log");
    

      

    enable 了 client trace 后,用GEMS鏈接到EMS server的時候也可以看到trace的message

    對于某個message單獨的trace可以用property來控制

    Enable Message Tracing on a Message You can enable tracing on individual messages by seĴing the JMS_TIBCO_MSG_TRACE property on the message.

    tibemsmonitor.exe 可以針對某個queue檢測某種event tyoe比如sent,receive,acknowledge

    tibemsmonitor -server "tcp://localhost:7222" -m $sys.monitor.Q.*.*

  • 相关阅读:
    手机操作
    模拟手机操作
    get_attribute_value
    test_order
    信息收集-FOFA资产收集与FOFA api
    html中form讲解
    安装redis
    yum vs rpm
    yum 安装java环境
    显示当前目录所有文件大小的命令ls -lht
  • 原文地址:https://www.cnblogs.com/sui84/p/15490178.html
Copyright © 2011-2022 走看看