[
https://issues.apache.org/jira/browse/CAMEL-21771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Netherton closed CAMEL-21771.
-----------------------------------
Resolution: Duplicate
Ah, you're right. It is fixed in CAMEL-21746.
I was testing with 4.10.0.
> 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)