Page tree
Skip to end of metadata
Go to start of metadata

Since version 2.7.6 MoSKito has Springboot integration with autostart. Just add it maven dependency to start agent listening for incoming requests from MoSKito Inspect:

pom.xml
<dependency>
    <groupId>net.anotheria</groupId>
    <artifactId>moskito-springboot</artifactId>
    <version>2.7.6</version>
</dependency>

Why do you need it?

MoSKito itselfs starts as soon as first moskitorized producer is initialized. However in order to be able to connect with MoSKito Inspect to your local instance, you need the agent to be started and listening for incoming requests. The above code does just that. 

What else do you need?

You will probably already have a dependency to moskito-webui in you pom if you use maven. But if not, you'll to add it:

pom.xml
<dependency>
    <groupId>net.anotheria</groupId>
    <artifactId>moskito-webui</artifactId>
    <version>2.7.6</version>
</dependency>
  • No labels