createDataSource
fun createDataSource(simpleConfig: SimpleDataSourceConfig, jsonHandler: JsonHandler<*> = defaultJackson3JsonHandler): LifecycleDataSource(source)
Creates a data source based on the given simple configuration.
Return
The created data source.
Parameters
simpleConfig
The simple configuration for the data source.
jsonHandler
The JsonHandler to use for serializing and deserializing JSON payloads. This defaults to the Jackson 3 defaultJackson3JsonHandler backed by defaultJackson3ObjectMapper.