{new} Jetty.xml file
The Jetty microservice comes with a bare-bones jetty.xml
file which can be modified to suite any needs.
The jetty.xml
can be located in either the
Jetty-Config
value in the MANIFEST.MF
file.
SVL variables in the jetty.xml
file are automatically resolved by the microservice.
This allows you to reference values in your configuration file from the jetty.xml
file.
The HTTP port used is controlled via the following:
JettyMicroservice
.
The first available port is then made available through the system property jetty.xml
file.
The {@link oaj.microservice.jetty.JettyMicroserviceBuilder#jettyServerFactory(JettyServerFactory)} method is also provided to use your own customized Jetty server.