oscerd opened a new pull request, #25070:
URL: https://github.com/apache/camel/pull/25070

   Backport of #25060 to `camel-4.14.x`.
   
   Three producers threw an `IllegalArgumentException` naming the wrong 
parameter,
   copy-pasted from a neighbouring check:
   
   * `MSK2Producer.createCluster` — missing broker-nodes count reported "Kafka 
Version must be specified".
   * `MQ2Producer` — `MISSING_BROKER_NAME` ("Broker Name must be specified") 
was thrown for the broker *id* checks (delete/reboot/update/describe) and the 
`configurationId` check; only `createBroker` takes a name. Added 
`MISSING_BROKER_ID` / `MISSING_CONFIGURATION_ID`.
   * `STS2Producer.getFederationToken` — missing federated name said "for 
assumeRole operation".
   
   All three producers carry these strings verbatim on this branch. 
Cherry-picked with trivial auto-merges; `MSKProducerTest` (6), `MQProducerTest` 
(9) and `STS2ProducerTest` (4) all pass.
   
   No upgrade-guide entry — the exception *type* is unchanged; only the message 
text is corrected.
   
   ---
   _Claude Code on behalf of 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]

Reply via email to