[
https://issues.apache.org/jira/browse/CAMEL-28018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18153890#comment-18153890
]
Guillaume Nodet commented on CAMEL-28018:
-----------------------------------------
This issue is already fixed on the main branch in commit
a6b4cc0f8db6015216817e48411459c47b851d54 (CAMEL-27866: validator - fix
failOnNullHeader, schemaFactory resolver, file:-URI prefix, producer shutdown).
The fix changes the call from *super.doStop()* to *super.doShutdown()* in
ValidatorProducer.doShutdown().
Please verify and close if confirmed.
_Note: This comment was generated by an AI coding agent and requires manual
verification._
> camel-validator - ValidatorProducer.doShutdown calls super.doStop()
> -------------------------------------------------------------------
>
> Key: CAMEL-28018
> URL: https://issues.apache.org/jira/browse/CAMEL-28018
> Project: Camel
> Issue Type: Bug
> Components: camel-validator
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 4.25.0
>
>
> ValidatorProducer.doShutdown calls super.doStop() instead of
> super.doShutdown():
> {code:java}
> protected void doShutdown() throws Exception {
> super.doStop();
> ServiceHelper.stopAndShutdownService(validatingProcessor);
> }
> {code}
> The shutdown of the parent class is skipped and its stop runs a second time.
> Fix: call super.doShutdown().
> Found while declaring the message headers of the components (CAMEL-27980).
> ----
> _Filed by Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)