davsclaus opened a new pull request, #23712: URL: https://github.com/apache/camel/pull/23712
## Summary - Adds a new `--stub=remote` flag that uses the Camel catalog's `remote` field on `ComponentModel` to determine which components to stub, instead of relying on the hardcoded accepted list - Components where `remote=true` (e.g., kafka, jms, sql) are stubbed; components where `remote=false` (e.g., timer, direct, seda, log) are accepted - The existing `ACCEPTED_STUB_NAMES` list is still respected in remote mode for backward compatibility - Updates the TUI "Stub (no Docker needed)" checkbox to use `--stub=remote` instead of `--stub=all` - Documents the new flag in the camel-jbang user manual ## Test plan - [ ] Run an example with `--stub=remote` and verify remote components (e.g., kafka) are stubbed while local components (e.g., timer, direct) work normally - [ ] Run with `--stub=all` and verify existing behavior is unchanged - [ ] Verify TUI stub checkbox uses `--stub=remote` _Claude Code on behalf of Claus Ibsen_ 🤖 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]
