
</p>

<p>
As you can see, the router is defined in the same way as other routers, and in this case it is configured in:
<a href="#code/src/main/resources/factorial.conf" class="shortcut">factorial.conf</a>
</p>

<p>
It is only router type <code>adaptive</code> and the <code>metrics-selector</code> that is specific to this router,
other things work in the same way as other routers.
</p>

<p>
To run this sample, go to the <a href="#run" class="shortcut">Run</a>
tab, and start the application main class <b><c