diff --git a/extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/devui/Connectors.java b/extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/devui/Connectors.java index a7a1ad38292fcc..54e7f6c1a1004d 100644 --- a/extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/devui/Connectors.java +++ b/extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/devui/Connectors.java @@ -92,8 +92,8 @@ private Map getProperties(Config config, String connectorSuffix, String prefix = connectorPropertyName.substring(0, connectorPropertyName.length() - connectorSuffix.length()); for (String propertyName : config.getPropertyNames()) { if (propertyName.startsWith(prefix) && !propertyName.equals(connectorPropertyName)) { - properties.put(propertyName.substring(prefix.length() + 1, propertyName.length()), - config.getValue(propertyName, String.class)); + properties.put(propertyName.substring(prefix.length() + 1), + config.getOptionalValue(propertyName, String.class).orElse("")); } } return properties;