Viewing tibco ems historical message -
tibco stores messages in data file or in database. need browse old messages posted topic or queue. ems provide api searching old/consumed messages? suppose have topic complexevent.topic @ time t1 publisher publishes message complexevent.topic, @ time t2 consumer consumes message. after 2 hours t2 need view messages posted between t1 , t1+ 10 (minutes) topic complexevent.topic. how can search old messages?
ems not store copies of messages design : mom not dbms, , mom should optimized performance.
for specific , punctual need such yours, create ems bridge (similar mq alias, see ems doc) destination(topic,queue) want log "destinationname.log" queue. way, current code , destination unaffected.
after that, use java queuebrowser , messageselector search messages in log queue. see oracle documentation details.
don't forget clean queue (you set message limit , overflow strategy).
if performances critical, consider storing logging queues on different ems instances.
Comments
Post a Comment