[ https://issues.apache.org/jira/browse/CAMEL-21771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928853#comment-17928853 ]
Claus Ibsen commented on CAMEL-21771: ------------------------------------- We had fixed something like that recently. Are you on 4.10.0 or using main branch of camel-core > 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 > Priority: Minor > > 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)