davsclaus opened a new pull request, #76: URL: https://github.com/apache/camel-jbang-examples/pull/76
Step two of CAMEL-24808, first rung. Three examples in a new `run/` directory; the directory is the `level` group, and existing examples move into their rung directories as they are rewritten. - **order-generator**: a timer creates a shop order every five seconds, `OrderNumber.java` hands out the order numbers through `beans.yaml` and a method expression, the body is the order as JSON, one log line per order. The order feed every later rung starts from. - **nightly-report**: the cron component runs the inventory report on a schedule, every ten seconds in the demo and nightly at 02:00 with a one-line change in `application.properties`. - **properties-and-profiles**: the same route greets with the development values of `application.properties` and with the production values of `application-prod.properties` under `--profile=prod`. Each example has the README shape of the ladder (what you will see, run it, how it works, build it step by step, try changing), metadata with `level: run` and `teaches`, a Citrus YAML test that starts the route with JBang and verifies the logged line, and a CI matrix entry. All three validate as canonical YAML, the log lines in the READMEs are the ones the routes print, and the Citrus tests pass locally with Citrus 5.0.1. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Bp3538HRBPMQkb5ta9xRaj -- 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]
