All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.smallrye.reactivemessaging.deployment.ReactiveMessagingBuildTimeConfig Maven / Gradle / Ivy

package io.quarkus.smallrye.reactivemessaging.deployment;

import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

@ConfigRoot(name = "reactive-messaging", phase = ConfigPhase.BUILD_TIME)
public class ReactiveMessagingBuildTimeConfig {
    /**
     * Whether an health check is published in case the smallrye-health extension is present.
     */
    @ConfigItem(name = "health.enabled", defaultValue = "true")
    public boolean healthEnabled;

    /**
     * Whether it should automatically configure the connector attribute of channels that don't have an
     * upstream source (for incoming channels), or a downstream consumer (for outgoing channels).
     *
     * When enabled, it verifies that there is only a single connector on the classpath. In that case, it automatically
     * associates the orphans channel to the connector, removing the need to add the .connector
     * attribute in the application configuration.
     */
    @ConfigItem(name = "auto-connector-attachment", defaultValue = "true")
    public boolean autoConnectorAttachment;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy