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

   # Description
   
   Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832). 
The umbrella ticket stays open.
   
   ## Summary
   
   This PR rewrites 3 texts of camel-saga: the component description, the 
`action` path option and the
   `Long-Running-Action` header. The old component description ("Execute custom 
actions within a route using the Saga
   EIP") did not say what the component does: it completes or compensates the 
saga that the exchange takes part in. The
   old header text ("The long running action") did not say that the header 
holds the saga id, or when the producer reads
   it. The new texts come from `SagaEndpoint`, `SagaProducer`, `SagaProcessor` 
and `CamelSagaService` in Camel.
   
   ### Found, not changed
   
   - The `Long-Running-Action` header has an empty label, though the Saga EIP 
sets it and the producer reads it.
   - The enum of the `action` option lists `COMPLETE` and `COMPENSATE`, while 
the doc page uses `saga:complete` and
     `saga:compensate`. Both work, as the endpoint converts the value to upper 
case.
   
   ## Tests
   
   - There is no new test, as only description text changes.
   - A script compared the component JSON with the parent commit: only 
`description` fields changed (3 texts).
   
   # 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 the formatter and built the module, then regenerated the catalog 
copy, `dsl/camel-endpointdsl` and `dsl/camel-componentdsl`, 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 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