davsclaus opened a new pull request, #28373: URL: https://github.com/apache/camel/pull/28373
_Claude Code on behalf of davsclaus_ Bug fixes for fourteen components, found while adding the catalog body types (CAMEL-24961). One commit; every behaviour fix has a unit test that failed before it. | JIRA | Component | Fix | |---|---|---| | [CAMEL-25924](https://issues.apache.org/jira/browse/CAMEL-25924) | kafka | with `useIterator`, only a JSON array node is split (Jackson 2 and Jackson 3, the latter by class name); an object node and a scalar node are one record | | [CAMEL-25938](https://issues.apache.org/jira/browse/CAMEL-25938) | ftp-common, smb | the catalog default of `download` is `true` (ftp, ftps, sftp, mina-sftp, azure-files, smb) | | [CAMEL-25977](https://issues.apache.org/jira/browse/CAMEL-25977) | dns | dig defaults to type A and fails clearly without a name (both were NPEs); the `wikipedia` type is deprecated | | [CAMEL-26052](https://issues.apache.org/jira/browse/CAMEL-26052) | as2 | client/send: byte[], File and file-consumer bodies; a partner status outside 2xx fails the exchange; `requestUri` defaults to `/`; `ediMessageType` deprecated (and used as the content type when it is the only one set); quoted-printable really encoded; no ERROR log for unencrypted messages or a closed async MDN connection; docs | | [CAMEL-26053](https://issues.apache.org/jira/browse/CAMEL-26053) | graphql | the producer's JSON request headers win over the message's; the query/variables headers are not sent as HTTP headers; the request headers do not stay on the message; a Map body is not sent as a query, and is used as variables | | [CAMEL-26058](https://issues.apache.org/jira/browse/CAMEL-26058) | vertx-http | Path and Reader bodies; urlencoded form values decoded, repeated names kept; docs | | [CAMEL-25983](https://issues.apache.org/jira/browse/CAMEL-25983) | github2 | getCommitFile reads the file of the commit (sha from `CamelGitHubCommitSha`, path from the new `CamelGitHubFilePath` header or the body), with the MIME base64 decoder | | [CAMEL-26054](https://issues.apache.org/jira/browse/CAMEL-26054) | pdf | the catalog `pageSize` values work (A4 gave Letter); extractText after create; CR LF, CR and tabs with lineTermination; create without a body fails clearly; Path elements for merge; the tests now assert | | [CAMEL-26057](https://issues.apache.org/jira/browse/CAMEL-26057) | tika | `getMandatoryBody` for detect and parse; parse sets the exchange charset to the output encoding | | [CAMEL-25976](https://issues.apache.org/jira/browse/CAMEL-25976) | infinispan-embedded | the manager gets the CamelContext, so `configurationUri` reads `file:`, absolute paths and placeholders; docs say which options are component-only | | [CAMEL-26055](https://issues.apache.org/jira/browse/CAMEL-26055) | snmp | a producer without type sends its oids, port 161 unless TRAP; trap body via `getMandatoryBody`; `SnmpMessage` converts to String; the poll consumer uses a new PDU per poll and counts its polls; docs | | [CAMEL-26056](https://issues.apache.org/jira/browse/CAMEL-26056) | jdbc | clear error for an outputClass that does not resolve; generated keys are plain maps; `getMandatoryBody` for the SQL; `transacted` deprecated (never read); docs | | [CAMEL-26059](https://issues.apache.org/jira/browse/CAMEL-26059) | jsch | scp without any known hosts no longer NPEs (`strictHostKeyChecking` decides, unchanged); docs say the remote directory must exist | | [CAMEL-26061](https://issues.apache.org/jira/browse/CAMEL-26061) | micrometer | docs say a failure fails the exchange; histogram value header type; `metricsType` defaults to counter | Behaviour changes are in the 4.24 upgrade guide; the main ones: kafka sends a JSON object node as one record (the 4.22 guide said they are split), as2 client/send fails on a non-2xx answer, graphql no longer leaves `CamelHttpMethod` on the message, jdbc generated keys ignore `outputClass`. Not in this PR: CAMEL-26060 (file-watch) has a contributor PR (#28361). The as2 changes stay out of the code that #28331, #28265 and #28362 change. Catalog JSON and docs copied, endpoint and component DSLs regenerated. Main only. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
