![JAR search and dependency download from the Maven repository](/logo.png)
be.looorent.jflu.publisher.rabbitmq.quarkus.ProducerRuntimeConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jflu-producer-rabbitmq-quarkus Show documentation
Show all versions of jflu-producer-rabbitmq-quarkus Show documentation
JFlu Connector for RabbitMQ on Quarkus
The newest version!
package be.looorent.jflu.publisher.rabbitmq.quarkus;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigRoot;
import java.util.Optional;
import java.util.OptionalInt;
import static io.quarkus.runtime.annotations.ConfigPhase.RUN_TIME;
@ConfigRoot(name = "jflu.producer.rabbitmq", phase = RUN_TIME)
public class ProducerRuntimeConfiguration {
/**
* RabbitMQ's username
*/
@ConfigItem
public Optional username;
/**
* RabbitMQ's password
*/
@ConfigItem
public Optional password;
/**
* RabbitMQ's host
*/
@ConfigItem
public String host;
/**
* RabbitMQ's port
*/
@ConfigItem(defaultValue = "5672")
public OptionalInt port;
/**
* RabbitMQ's virtual host
*/
@ConfigItem(defaultValue = "/")
public Optional virtualHost;
/**
* RabbitMQ's exchange name
*/
@ConfigItem
public String exchangeName;
/**
* Name of emitter for each event
*/
@ConfigItem
public String emitter;
/**
* Whether the event must be flagged with "exchange durable" or not
*/
@ConfigItem
public boolean exchangeDurable;
/**
* Wait for RabbitMQ to be reachable
*/
@ConfigItem(defaultValue = "false")
public boolean waitForConnection;
/**
* Use SSL with the RabbitMQ's management API or not
*/
@ConfigItem(defaultValue = "false")
public boolean useSsl;
@Override
public String toString() {
return "ProducerRuntimeConfiguration{" +
"username=" + username +
", host='" + host + '\'' +
", port=" + port +
", virtualHost=" + virtualHost +
", exchangeName='" + exchangeName + '\'' +
", emitter='" + emitter + '\'' +
", exchangeDurable=" + exchangeDurable +
", waitForConnection=" + waitForConnection +
", useSsl=" + useSsl +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy