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

   # Description
   
   Fixes [CAMEL-27392](https://issues.apache.org/jira/browse/CAMEL-27392).
   
   ## Summary
   
   Three labels of `camel-spring-ws` did not match the code. The catalog also 
listed values of `type` that an endpoint URI does not take. This change 
corrects both, and the component does not change at runtime.
   
   - `messageSender` has no label, as the consumer uses it too through 
`WSACamelEndpointMapping`.
   - `sslContextParameters` has the labels `producer` and `security`, as only 
the producer uses it.
   - The header `CamelSpringWebserviceSoapHeader` has no label, as the consumer 
sets it too.
   - `type` lists the eight values of the URI in its `enums` attribute, as 
`ROOT_QNAME`, `SOAP_ACTION`, and `URI_PATH` select no type.
   - The Endpoint DSL has `sslContextParameters` only in the producer builder 
now, and the upgrade guide has a section on it.
   
   ## Tests
   
   - `testValidateEndpointSpringWsLabelsAndType` of `CamelCatalogTest` 
validates both options in consumer-only and producer-only mode, the group of 
the header, and a `soapaction` URI.
   - It failed before the change, as the catalog reported `messageSender` in 
consumer-only mode.
   - The build of `camel-spring-ws` ran 159 tests, 33 of them skipped, and none 
failed.
   - On Windows, 148 of the 149 tests of `CamelCatalogTest` pass, and 
`testValidateGroovyLanguage` fails on the platform line separator.
   
   # 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, b1919763fb4b. Then I ran the builds of `camel-spring-ws`, of 
`catalog/camel-catalog` with `CamelCatalogTest`, and of 
`dsl/camel-endpointdsl`, and committed all generated changes.
   
   # 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 (Anthropic) drafted the change and this text, and ran the builds 
and tests named above.
   
   _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]

Reply via email to