[
https://issues.apache.org/jira/browse/CAMEL-24637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-24637.
---------------------------------
Resolution: Fixed
Merged to main via https://github.com/apache/camel/pull/30765 (62bc2176a5),
fixed in 4.24.0.
_Claude Code on behalf of davsclaus_
> camel-jms: implement SecretRotationAware to re-authenticate on secret rotation
> ------------------------------------------------------------------------------
>
> Key: CAMEL-24637
> URL: https://issues.apache.org/jira/browse/CAMEL-24637
> Project: Camel
> Issue Type: Sub-task
> Components: camel-jms
> Reporter: Andrea Cosentino
> Assignee: Karol Krawczyk
> Priority: Major
> Fix For: 4.24.0
>
>
> Sub-task of CAMEL-24636.
> Adopt the {{SecretRotationAware}} SPI in camel-jms.
> {{JmsComponent#setUsername}} and {{setPassword}} delegate to a shared
> {{JmsConfiguration}}, whose values are resolved from property placeholders
> once at configure time. The {{ConnectionFactory}} itself is normally a
> registry bean (often a pooled one) created at bootstrap with the credentials
> valid at that moment.
> Neither is refreshed by {{RouteController.reloadAllRoutes()}}, so after a
> secret rotation the component keeps presenting the old credentials.
> On {{onSecretRotation}} the component should re-resolve its configured
> username and password and re-authenticate the connection factory in place,
> closing and re-establishing pooled connections as needed.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)