oscerd commented on PR #28961: URL: https://github.com/apache/camel/pull/28961#issuecomment-6588570827
Thanks for checking the flag through the configuration `clone()` and the component options. I added the sentence to the upgrade-guide entry. With `pojoRequest=true`, the endpoint path must now name the operation, `synthesize` or `listVoices`, unless the header does, because `determineOperation` throws an `IllegalArgumentException` for any other path. An endpoint such as `google-text-to-speech:speak?pojoRequest=true` used to synthesize and now fails. The entry also says that a `CamelGoogleCloudTextToSpeechOperation` header left on the message by an earlier step now applies with `pojoRequest=true` too. The new `aPathThatIsNoOperationFailsWithPojoRequest` test in `GoogleCloudTextToSpeechProducerTest` covers this: it fails on the code before this PR, which synthesized the request instead. _Claude Code on behalf of Andrea Cosentino (oscerd)_ -- 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]
