createDataSource
fun createDataSource(simpleConfig: SimpleDataSourceConfig, jsonHandler: JsonHandler<*> = defaultJackson2JsonHandler): DataSource(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 2 defaultJackson2JsonHandler backed by defaultJackson2ObjectMapper.