saravanakumar1987 opened a new pull request, #30663: URL: https://github.com/apache/camel/pull/30663
# Description Fixes [CAMEL-27407](https://issues.apache.org/jira/browse/CAMEL-27407). ## Summary The `synchronous` option of `cxf` and `cxfrs` had the labels `producer` and `advanced`, though the consumers use it too. This change removes the label `producer` from the component option and the endpoint option of both. A user notices it in the Endpoint DSL and in the endpoint validation of the catalog, not at runtime. - `CxfConsumer` runs the route synchronously when `synchronous` is true, and `CxfRsInvoker` takes no CXF continuation then. - In the Endpoint DSL, `from()` accepts a `cxf` or `cxfrs` endpoint that sets `synchronous` now. - No builder loses a method, so the upgrade guide has no section on it. - The endpoint validation of the catalog accepts `synchronous` in consumer-only mode now. ## Tests - `testValidateEndpointCxfSynchronous` of `CamelCatalogTest` validates both components in consumer-only and producer-only mode, and checks the group of the two component options. - It failed before the change, as the catalog reported `synchronous` of `cxf` as not applicable in consumer-only mode. - On Windows, all 150 tests of `CamelCatalogTest` pass. - The tests of `camel-cxf-soap` and `camel-cxf-rest` did not run locally, as none of them reads the label of an option. # Target - [x] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch) # Tracking - [x] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [x] I ran `mvn clean install -Dquickly -DskipTests` in the root folder on the parent commit, ac040fa685f5. Then I built `camel-cxf-soap` and `camel-cxf-rest` with `-DskipTests`, the catalog with `CamelCatalogTest`, and the Component DSL and the Endpoint DSL. # AI-assisted contributions - [x] If this PR includes AI-generated code, commits have proper co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR description identifies the AI tool used. _Claude Code on behalf of saravanakumar1987_ 🤖 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]
