There are 3 components to this project:
-
Controller and Wallet service
-
AOP
TimingAndParametersPerformanceMonitorAspectthat intercepts contoller methods and delegates method name, parameters, return data and time that took to process. Configuration:<aop:aspectj-autoproxy/> -
TimingAndParametersStatisticsPersisterpersists statistical data every 60 seconds to DB including min,max,average time and method name. If a controller is not accessed, then no data is written. Scheduling is handled by Spring<task:annotation-driven/>MethodInterseptionLogger- loggs method name, parameters, resturn data and time, it took to for a method to run
-
Message structure can be generated by
mvn generate-resources
Result - Note: Writing .../wallet/schema1.xsd
To run this project:
git clone
mvn compile
mvn run:jetty