open static fun <T : Any> rxGetConsumer(discovery: ServiceDiscovery, filter: JsonObject): Single<MessageConsumer<T>>
Convenient method that looks for a message source and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery - The service discovery instance
Return
open static fun <T : Any> rxGetConsumer(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): Single<MessageConsumer<T>>
Convenient method that looks for a message source and provides the configured . 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
Return