Therefore, you can run your tests twice: once for gathering timing information and once for gathering sizing infor-
mation. In this way, the timing-only test can eliminate any delays caused by calculating message size. You can then
combine the information from the two tests to determine your final results.
Measuring message processing performance
The mechanism for measuring message processing performance is disabled by default. When you enable it, you can
use the MessagePerformanceUtils class to access the metrics from a message received by a client.
Enabling message processing metrics
You use two parameters in a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.