Internal audit sink policy - monitor performance
search cancel

Internal audit sink policy - monitor performance


Article ID: 258077


Updated On:


CA API Gateway


As message preparation logic and JMS/MQ activity usages are very common in Internal Audit Sink policy, do you know a good approach to measure the performance of that policy? 


Release : 10.1


If you want to audit the audit sink policy you could use the ${} context variable to log the routing latency for the JMS or MQ routing assertions. You can find information on using this  variable for capturing assertion latency  in the docs:

You can also use ${request.elapsedTime) to record timings at specific points and then calculate the difference between them in post processing. One could use XPath to calculate the delta during processing but that just adds a bunch of latency.