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.*.*

 

posted on 2021-10-31 17:36  白马酒凉  阅读(72)  评论(0编辑  收藏  举报

导航