Deploying and Managing Apama Applications > Correlator-Integrated JMS Messaging > Designing and implementing applications for JMS > Performance considerations > JMS performance logging
JMS performance logging
The JmsSenderSettings and JmsReceiverSettings configuration objects both contain a property called logPerformanceBreakdown which can be set to true to enable measurement of the time taken to perform the various operations required for sending and receiving, with messages logged periodically at INFO level with a summary of measurements taken since the last log message. The default logging interval is once per minute.
Although this property should not be enabled in a production system where performance is a priority because the gathering of the performance data adds unnecessary overhead, it can be indispensable during development and testing for demonstrating what each sender and receiver thread is spending its time doing. To produce more useful statistics, note that the first batch of messages sent or received after connection may be ignored (which will affect all statistics logged, including the number of messages received and throughput). All times are measured using the standard Java System.nanoTime() method, which should provide the most accurate time measurements the operating system can achieve, though not usually to nano second accuracy. For more information on the logPerformanceBreakdown property, see XML configuration bean reference.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.