gnodet-bot commented on code in PR #31009: URL: https://github.com/apache/camel/pull/31009#discussion_r4721594699
########## components/camel-ibm/camel-ibm-watson-speech-to-text/src/main/docs/ibm-watson-speech-to-text-component.adoc: ########## @@ -57,6 +57,13 @@ The IBM Watson Speech to Text component provides the following operations: If you don't specify an operation explicitly, you must set it via the `operation` parameter. +=== Health check + +The producer registers a health check that lists the models of the service, so it is down when Speech to Text cannot +be reached or rejects the credentials. Like the other producer health checks of Camel, it runs only when producer Review Comment: 💡 **Inaccuracy:** `listModels()` raises `ServiceResponseException` for any HTTP error — 429 rate limit, 503 service unavailable, quota exhaustion, network-level failures — not just bad credentials. The upgrade guide already uses the correct wording "rejects the request". ```suggestion be reached or rejects the request. Like the other producer health checks of Camel, it runs only when producer ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
