James Netherton created CAMEL-21771: ---------------------------------------
Summary: camel-main: Vault refresh is configured twice Key: CAMEL-21771 URL: https://issues.apache.org/jira/browse/CAMEL-21771 Project: Camel Issue Type: Bug Components: camel-main Reporter: James Netherton Discovered when testing Kubernetes secret refreshing & context reloading on Camel Quarkus. When the context reload happens, there's a warning in the logs like: {code} Cannot add a 2nd consumer to the same endpoint: direct://start {code} The SecretsReloadTriggerTask service is being registered twice via different code paths. {code} BaseMainSupport.autoconfigure() -> BaseMainSupport.doConfigureCamelContextFromMainConfiguration() -> DefaultConfigurationConfigurer.afterConfigure() -> DefaultConfigurationConfigurer.configureVaultRefresh() {code} {code} BaseMainSupport.autoconfigure() -> BaseMainSupport.doConfigureCamelContextFromMainConfiguration() -> DefaultConfigurationConfigurer.configureVaultRefresh() {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)