suspend fun getJDBCClientAwait(discovery: ServiceDiscovery, filter: JsonObject): JDBCClient
Convenient method that looks for a JDBC datasource source and provides the configured io.vertx.ext.jdbc.JDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery
- The service discovery instance
resultHandler
- The result handler
suspend fun getJDBCClientAwait(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): JDBCClient
Convenient method that looks for a JDBC datasource source and provides the configured io.vertx.ext.jdbc.JDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery
- The service discovery instance
filter
- The filter (must not be null)
resultHandler
- The result handler
suspend fun getJDBCClientAwait(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject): JDBCClient
Convenient method that looks for a JDBC datasource source and provides the configured io.vertx.ext.jdbc.JDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery
- The service discovery instance
consumerConfiguration
- the consumer configuration
resultHandler
- the result handler
suspend fun getJDBCClientAwait(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, consumerConfiguration: JsonObject): JDBCClient
Convenient method that looks for a JDBC datasource source and provides the configured io.vertx.ext.jdbc.JDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery
- The service discovery instance
filter
- The filter, must not be null