davsclaus opened a new pull request, #23816:
URL: https://github.com/apache/camel/pull/23816
## Summary
- When a route template uses `{{?uri}}` for the entire endpoint URI and the
parameter is not provided, the step is silently skipped instead of throwing
`NoSuchEndpointException`
- This extends the existing `{{?param}}` optional syntax (which already
works for individual query parameters) to support full endpoint URIs
- Implemented in `SendReifier`, `ToDynamicReifier`, `WireTapReifier`,
`EnrichReifier`, `PollEnrichReifier`, and `PollReifier`
- Only applies inside route templates (checked via `rd.isTemplate()`)
## Test plan
- [x] Java DSL tests in `RouteTemplateOptionalEndpointUriTest` (4 tests: not
provided, provided, multiple optionals, all not provided)
- [x] YAML DSL tests in `RouteTemplateTest.groovy` (2 tests: not provided,
provided)
- [x] All 77 existing route template tests pass
- [ ] CI checks
🤖 Generated with [Claude Code](https://claude.com/claude-code) on behalf of
Claus Ibsen
--
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]