The most common way to configure essential is through the essential.properties file. You can set properties in this file like in every other property file.
Example:
authentication.handler = org.example.AuthenticationHandler default.consumer = org.example.Consumer
Properties with a star (*) mark a wildcard.
Deserialization properties:
Serialization properties:
Phase properties:
The controller can also be configured by supplying a configuration object during the controller instantiation process. For example, you can use the controller configuration to set the default producer to your custom implementation:
Configuration config = new Configuration(); config.setDefaultProducer(MyProducer.class); Controller controller = Controller.getInstance("my.resource.implementations", config);