Croway opened a new pull request, #30073:
URL: https://github.com/apache/camel/pull/30073
Fixes on six component pages where the docs or an option description said
something other than what the code does.
- **aws2-sqs**: `visibilityTimeout` said it "changes the queue visibility
timeout attribute permanently", but it is only sent with each `ReceiveMessage`
(`Sqs2Consumer`) and used by the visibility extender;
`defaultVisibilityTimeout` is the one that sets the queue attribute
(`Sqs2Endpoint.createQueue` / `updateQueueAttributes`).
`extendMessageVisibility` said it needs `defaultVisibilityTimeout`, while
`Sqs2Component` requires `visibilityTimeout`. `deleteAfterRead` now says the
message is deleted when the exchange completes successfully (`processCommit` in
`onComplete`).
- **azure-storage-blob**: the `listBlobContainers` row had the description
of `getBlob`; it now says it lists the containers and is the default operation
(`BlobConfiguration.operation`), so an upload needs
`operation=uploadBlockBlob`. The operations page called it Java-only, though it
works without options; it now also says the consumer sets
`CamelAzureStorageBlobBlobName`, which a later producer uses before its own
`blobName`. The client option is `serviceClient`, not `blobServiceClient`, and
the SAS example built the endpoint URL with the access key instead of the
container name. `large-payloads.adoc` named `CamelAzureStorageBlobUploadSize`;
the header is `CamelAzureStorageBlobBlobUploadSize`
(`BlobConstants.BLOB_UPLOAD_SIZE`).
- **cxfrs**: the producer section presented the proxy API as the basis of
the producer, while `httpClientAPI` defaults to `true` (`CxfRsEndpoint`). The
WebClient API now comes first and the proxy API is described as opt-in. Without
`CamelHttpMethod`, the producer passes a null method and CXF sends a `POST`,
also without a body: the header description and the page say so. The
`DESTINATION_OVERRIDE_URL` snippet set the header to `constant(...)`, an
`Expression`, which reaches the producer as the string `constant{...}` and
fails the request; it now sets the URL string.
- **jms**: "Keys starting with `JMS` or `JMSX` are reserved" was wrong for
`JMSX` and `JMS_<vendor>_` headers, which `JmsBinding.isStandardJMSHeader`
sends as properties. A new "Vendor-specific properties" section says to set
them as headers, that since 4.22 a property the provider refuses is skipped
with a WARN, and that `byte[]` values such as `JMS_IBM_MQMD_MsgId` need
`allowAdditionalHeaders`.
- **netty**: the `textline` description said "Object Serialization is
assumed over TCP", but the default codec is a String codec without a frame
decoder (`NettyConfiguration.parseURI`). A new "Message framing" section says
that each socket read is one exchange unless `textline` or a frame decoder is
used.
- **spring-rabbitmq**: the page said to enable auto-declare with
`autoDeclare=true`, but it is `true` by default since 4.5.0 (CAMEL-20299). The
section now says what a consumer declares, that an existing element with other
settings fails the start with `PRECONDITION_FAILED`, and how to turn it off.
The 4.5 upgrade guide gets the missing entry.
Regenerated: the component, catalog and DSL files for the changed
descriptions, and the catalog copies of the component pages.
_Claude Code on behalf of Federico Mariani_
--
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]