package io.quarkus.mongodb.deployment;

import com.mongodb.client.MongoClient;

import io.quarkus.builder.item.SimpleBuildItem;
import io.quarkus.mongodb.ReactiveMongoClient;
import io.quarkus.runtime.RuntimeValue;

public final class MongoClientBuildItem extends SimpleBuildItem {
    private final RuntimeValue<MongoClient> client;
    private final RuntimeValue<ReactiveMongoClient> reactive;
    private final String name;

    public MongoClientBuildItem(RuntimeValue<MongoClient> client, RuntimeValue<ReactiveMongoClient> reactiveClient,
            String name) {
        this.client = client;
        this.reactive = reactiveClient;
        this.name = name;
    }

    public RuntimeValue<MongoClient> getClient() {
        return client;
    }

    public RuntimeValue<ReactiveMongoClient> getReactive() {
        return reactive;
    }

    public String getName() {
        return name;
    }
}

@@ -104,22 +104,21 @@
 er.item.
-Simple
+Multi
 BuildIte
@@ -260,14 +260,13 @@
 nds 
-Simple
+Multi
 Buil

Make MongoClientBuildItem a MultiBuildItem