spring-projects/spring-framework — pull request #619 by stevensouza (2014-08-07 10:49:34+00:00)
Title: SPR-12068 Added exception tracking to JamonPerformanceMonitorInterceptor

Ok, I made the changes, and added tests for the following:
https://jira.spring.io/browse/SPR-12068

Let me know if anything else needs to be done.

A couple notes.
* I was unable to compile spring, so I made the changes in my own project and copied the files over when done.
* I was able to run my unit tests successfully and also tested it in Spring by adding it to my applicationContext.xml and it worked.
* However, because I couldn't get Spring to compile/test the code I didn't run the Spring test suite.
* One thing I wasn't sure of is if the jamon jar is available as a jar in your test suite. It would need to be.
* Although not required jamon 2.78 is the latest version so if it has to be added to your build file that should be used (it is in maven).

Here is what the applicationContext entry would look like. Note I disabled exception tracking by default so as not to change the current users behaviour (although I think having it enabled is a better default). The property below 'trackExceptions' controls this behaviour.