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

   The catalog lists the message headers of each component (the `headers` of 
the component JSON, from the constants class named by `headersClass`). Some 
components set or read headers that were not declared there, so the component 
pages, the Endpoint DSL header builders and the tools that read the catalog did 
not know about them.
   
   This declares them: a constant with `@Metadata` in the constants class of 
the component (a new `<Name>Constants` class plus `headersClass` where the 
component had none), and the code uses the constant where it used the string. 
Framework headers are declared as `= Exchange.X`, as camel-file does.
   
   - No header is renamed and no string value changes (see 
`design/headers.adoc`), so there is no behavior change. Names that do not 
follow `Camel<Component><Feature>` keep their name.
   - The component JSON diffs only add headers (the other lines are index 
shifts); no option changes.
   - Regenerated: component JSON and catalog copies, Endpoint DSL.
   
   148 headers in 34 endpoint schemes:
   
   | Scheme | Added | Headers |
   |---|---|---|
   | `activemq` | 1 | `CamelMessageTimestamp` |
   | `activemq6` | 1 | `CamelMessageTimestamp` |
   | `amqp` | 2 | `JMS_AMQP_MA_`, `CamelMessageTimestamp` |
   | `atmosphere-websocket` | 11 | `CamelHttpMethod`, 
`CamelServletContextPath`, `CamelHttpPath`, `CamelHttpQuery`, `CamelHttpUri`, 
`CamelHttpUrl`, `CamelHttpCharacterEncoding`, `Content-Type`, 
`CamelHttpResponseCode`, `CamelHttpChunked`, `Content-Encoding` |
   | `clickup` | 1 | `x-signature` |
   | `cxfrs` | 2 | `CamelHttpUri`, `CamelHttpCharacterEncoding` |
   | `cxf` | 11 | `CamelHttpUri`, `CamelHttpCharacterEncoding`, 
`CamelCxfMessage`, `SOAPAction`, `org.apache.cxf.headers.Header.list`, 
`org.apache.cxf.message.Message.PROTOCOL_HEADERS`, `CamelHttpMethod`, 
`CamelHttpPath`, `CamelHttpQuery`, `Content-Type`, `CamelHttpResponseCode` |
   | `file` | 1 | `CamelMessageTimestamp` |
   | `fop` | 3 | `CamelFop.Render.`, `CamelFop.Encrypt.`, 
`CamelFop.RendererOptions.` |
   | `google-drive` | 2 | `CamelGoogleDrive.content`, 
`CamelGoogleDrive.mediaContent` |
   | `google-mail` | 1 | `CamelGoogleMail.` |
   | `google-sheets` | 1 | `CamelGoogleSheets.` |
   | `google-vertexai` | 1 | `CamelFileName` |
   | `jms` | 1 | `CamelMessageTimestamp` |
   | `scp` | 4 | `CamelFileName`, `CamelOverruleFileName`, 
`CamelFileNameProduced`, `CamelFileChecksum` |
   | `imap` | 4 | `Sender`, `CamelMessageTimestamp`, `mail.smtp.`, 
`mail.smtps.` |
   | `imaps` | 4 | `Sender`, `CamelMessageTimestamp`, `mail.smtp.`, 
`mail.smtps.` |
   | `pop3` | 4 | `Sender`, `CamelMessageTimestamp`, `mail.smtp.`, 
`mail.smtps.` |
   | `pop3s` | 4 | `Sender`, `CamelMessageTimestamp`, `mail.smtp.`, 
`mail.smtps.` |
   | `smtp` | 4 | `Sender`, `CamelMessageTimestamp`, `mail.smtp.`, 
`mail.smtps.` |
   | `smtps` | 4 | `Sender`, `CamelMessageTimestamp`, `mail.smtp.`, 
`mail.smtps.` |
   | `netty-http` | 6 | `CamelHttpResponseText`, `CamelHttpScheme`, 
`CamelHttpHost`, `CamelHttpPort`, `CamelRestHttpUri`, `CamelRestHttpQuery` |
   | `odata` | 2 | `Authorization`, `CamelHttpResponseCode` |
   | `platform-http` | 16 | `CamelHttpMethod`, `CamelHttpPath`, `CamelHttpUri`, 
`CamelHttpUrl`, `CamelHttpQuery`, `CamelHttpRawQuery`, 
`CamelHttpCharacterEncoding`, `Content-Type`, `CamelHttpResponseCode`, 
`CamelAuthentication`, `CamelHttpHost`, `CamelAttachmentsSize`, 
`CamelFileName`, `CamelFileContentType`, `CamelFileLength`, `CamelFilePath` |
   | `pubnub` | 1 | `CamelMessageTimestamp` |
   | `pulsar` | 1 | `CamelMessageTimestamp` |
   | `quartz` | 16 | `calendar`, `fireTime`, `jobDetail`, `jobInstance`, 
`jobRunTime`, `mergedJobDataMap`, `nextFireTime`, `previousFireTime`, 
`refireCount`, `result`, `scheduledFireTime`, `scheduler`, `trigger`, 
`triggerName`, `triggerGroup`, `CamelMessageTimestamp` |
   | `servicenow` | 5 | `CamelServiceNowOffsetNext`, 
`CamelServiceNowOffsetPrev`, `CamelServiceNowOffsetFirst`, 
`CamelServiceNowOffsetLast`, `CamelServiceNowContentEncoding` |
   | `servlet` | 11 | `CamelHttpMethod`, `CamelServletContextPath`, 
`CamelHttpPath`, `CamelHttpQuery`, `CamelHttpUri`, `CamelHttpUrl`, 
`CamelHttpCharacterEncoding`, `Content-Type`, `CamelHttpResponseCode`, 
`CamelHttpChunked`, `Content-Encoding` |
   | `spiffe` | 1 | `Authorization` |
   | `undertow` | 5 | `CamelHttpRawQuery`, `CamelHttpUrl`, 
`CamelAuthentication`, `CamelRestHttpUri`, `CamelRestHttpQuery` |
   | `vertx-http` | 3 | `CamelRestHttpUri`, `CamelRestHttpQuery`, 
`CamelFileNameOnly` |
   | `whatsapp` | 5 | `CamelHttpMethod`, `CamelHttpRawQuery`, `CamelHttpQuery`, 
`X-Hub-Signature-256`, `CamelHttpResponseCode` |
   | `xmpp` | 9 | `CamelXmppMessageType`, `CamelXmppSubject`, 
`CamelXmppThreadID`, `CamelXmppFrom`, `CamelXmppPacketID`, `CamelXmppStanzaID`, 
`CamelXmppTo`, `subject`, `language` |
   
   Part of CAMEL-27980.
   
   _Claude Code on behalf of davsclaus_
   
   🤖 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]

Reply via email to