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

   # Description
   
   Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832) 
(the shared ticket stays open). Batch 13: the component, option and header 
descriptions of 10 components, plus one text of camel-aws2-ec2 that CAMEL-27772 
missed. Each text was checked against the Camel code and against what the 
library does with the value (Caffeine 3.3.1, FreeMarker 2.3.35, kafka-clients 
4.4.0, OpenFGA SDK 0.11.0, Spring AI 2.1.0, web3j 6.1.0, AWS SDK Lambda, Google 
Cloud Vision, MCP Java SDK).
   
   ## Summary
   
   - camel-ai-resource: component description, 8 options, 2 headers. 
resourceUri is unique per tag (or in the default
     pool), not per CamelContext; mimeType lists the textual types, the rest is 
a Base64 blob; the two headers are client
     input. Doc page: uniqueness rule and binary types corrected.
   - camel-aws2-lambda: 18 options, 46 headers. The alias-name header is the 
name of the alias, the CORS
     allow-credentials header is a boolean flag, memory is any multiple of 1 
MB, the qualifier header is also read by the
     permission and getFunctionConfiguration operations; credentials texts 
match CAMEL-27772.
   - camel-aws2-ec2: useSessionCredentials now says that creating the client 
fails when one of the three values is
     missing (missed by CAMEL-27772).
   - camel-caffeine (caffeine-cache, caffeine-loadcache): component 
descriptions, 15 options, 7 headers. The cache
     options only apply to a cache the component creates (shared by name, the 
first endpoint to start configures it),
     evictionType selects which options apply, a size-based cache without 
maximumSize is unbounded, cacheLoader is only
     used by caffeine-loadcache, CamelCaffeineOldValue is never set.
   - camel-freemarker: component description, 8 options, 3 headers. 
templateUpdateDelay is FreeMarker's template update
     delay (5 s by default), encoding and templateUpdateDelay only apply to a 
resourceUri without a scheme,
     allowTemplateFromHeader names its 3 headers. Doc page: the context keys, 
hot reloading, and the request example
     that needs allowContextMapAll.
   - camel-google-vision: component description, 5 options, 2 headers. 
maxResults does not apply to text, document text
     or crop hints; pojoRequest ignores the operation. Doc page: the operation 
header name.
   - camel-kafka-share: 9 options, 5 headers. pollOnError ERROR_HANDLER uses 
the route error handler,
     maxPartitionFetchBytes is not used by the share consumer of kafka-clients 
4.4, consumerRequestTimeoutMs is also the
     Admin timeout for shareAutoOffsetReset, the CamelKafkaShareAcknowledge 
header takes precedence over onFailure.
   - camel-openfga: component description, 23 options, 5 headers. 
user/object/relation/type per operation, clientId does
     not require apiAudience, the SDK limits of 
connectTimeout/readTimeout/maxRetries, a conditionContext error fails the
     exchange (it is not a deny).
   - camel-reactive-streams: component description, 9 options, 2 headers. 
request(n) and backpressure: what
     maxInflightExchanges counts, exchangesRefillLowWatermark is a fraction, 
what BUFFER/OLDEST/LATEST keep, the thread
     pool options only apply to the built-in engine.
   - camel-spring-ai-chat: component description, 40 options, 25 headers. 
SafeGuardAdvisor checks the prompt, not the
     answer; several options only apply when Camel builds the ChatClient from 
chatModel; structured output validation
     returns the last answer after the retries. Doc page: the SafeGuard and 
validation sections corrected.
   - camel-web3j: component description, 34 options, 39 headers. position is 
the storage slot, gasLimit is the gas of
     the transaction, earliest is the genesis block, block numbers and nonce 
are decimal, addresses and topics are only
     taken from a List header.
   
   Documentation only, no behavior change. The component JSON, the catalog 
copies, the doc page headers and the DSL are
   
   The JSON diff is description text only (checked with a script that compares 
the JSON without the `description` fields), and a rebuild of the 11 modules and 
the DSLs leaves no change.
   
   ## Found, not changed
   
   Labels, types and defaults are left for the reviewers (only description text 
changes here):
   
   - aws2-lambda: several header labels do not match the code (for example 
`CamelAwsLambdaOperation` is `required` but defaults to invokeFunction, 
`CamelAwsLambdaFunctionArn` lists operations that never set it, 
`CamelAwsLambdaFunctionUrlCorsAllowCredentials` has javaType String but is read 
as Boolean).
   - google-vision: `operation` is a String with no `enums`; `pojoRequest` has 
no label.
   - reactive-streams: `CamelReactiveStreamsCallback` has no label; JMX exposes 
`concurrentConsumers` write-only (annotation on the setter).
   - web3j: `CamelWeb3jPosition`/`CamelWeb3jIndex` are declared String but read 
as BigInteger; `gasLimit`, `fromAddress`, `toAddress` and `privateFor` are 
producer-only but not labelled so.
   - freemarker: the endpoint `configuration` option has no `advanced` label.
   - Inherited texts left in their own modules: 
`allowContextMapAll`/`contentCache` of camel-support `ResourceEndpoint`; 
`pollExceptionStrategy`, `healthCheckProducerEnabled` and 
`additionalProperties` of camel-kafka-common as seen from kafka-share.
   
   Behavior bugs found while checking (for example caffeine `toD` with `keys`, 
the reactive-streams worker pool running one thread, web3j `addresses`/`topics` 
options dropped, freemarker `encoding` ignored for `classpath:`/`file:` 
templates) go into one JIRA per component, linked to CAMEL-23832.
   
   ## Tests
   
   Documentation only. Offline rebuild of each module, the catalog copies and 
the Endpoint/Component DSL.
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_016Y4dDhew8iuyqNH37V5FiU
   


-- 
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