The source code of Mats3 is hopefully quite sanely organized, and it has quite a bit of tests. It is worth checking out the repository and delve into some parts.

Note: To use Mats in a project, fetch mats-impl-jms from Maven Central.

Clone down the repository and build it (you can do that in a container to be on the safer side):

git clone git@github.com:centiservice/mats3.git
# git clone https://github.com/centiservice/mats3.git
cd mats3
./gradlew clean build

After this pans out, fire up your IDE and head over to the unit/integration tests of API, Spring, MatsFuturizer, and tests of the testing tools for JUnit / Jupiter / Spring.

There’s also a very rudimentary “dev area” for the Metrics Interceptor MatsMetrics_TestJettyServer, and same for Local Introspector LocalHtmlInspect_TestJettyServer, both of which you may start from your IDE by Right-click -> debug.

Firing up LocalHtmlInspect_TestJettyServer:

Starting LocalHtmlInspect_TestJettyServer

Hitting up http://localhost:8080/

Browseing of LocalHtmlInspect

Updated: