davsclaus opened a new pull request, #28508: URL: https://github.com/apache/camel/pull/28508
_Claude Code on behalf of davsclaus_ This syncs the bundled examples from camel-jbang-examples main (apache/camel-jbang-examples#130), using `mvn -Psync-example-catalog generate-resources` in `camel-jbang-core`. Six examples now keep a value that only the route uses in a variable instead of a header. A header is sent on with the message to the next endpoint and becomes part of the data contract. The values are: - an order id (order-generator, json-transform, order-lines, aggregator), which in aggregator is also the correlation key - the item count (json-transform) - an output file name (csv-to-json) - the pollEnrich file name (enrich-and-dedupe) The READMEs and catalog entries say so, and list `setVariable` under what the example teaches. Headers an endpoint reads stay headers. This matches the hints of #28500, which also suggest a variable, and finishes the move CAMEL-25517 started (exchange properties to variables). The sync changed only these six examples and the catalog. The `*Example*Test` tests of `camel-jbang-core` pass (99 tests, including `ExampleRoutesLoadTest`). On the examples side, the six Citrus tests pass, and enrich-and-dedupe also runs on Camel 4.23.0. 🤖 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]
