createFromConfig

open override fun createFromConfig(config: ServerConfig, logger: Logger?): Result<Broker>

Create a jar broker from a ServerConfig Object

We do a check to make sure that the ServerConfig contains a valid JarBrokerConfig.

Return

A result containing a jar broker if we were able to create one for the server, else an error

Parameters

config

Server configuration to create a jar broker for

logger

Logger ref for log messages