Expand description
Process-global registry of template reload targets + the erased reload target contract.
This is the dependency-inversion seam (mirror of
crate::tls_source::TlsReloadRegistry): it lives in camel-component-api
so that both camel-core (the RuntimeBus) and camel-template (the
ReloadHandler impl) can see it, WITHOUT camel-core depending on
camel-template.
The ONLY reload path is TemplateReloadRegistry::reload_route, which is
all-or-nothing: it builds every target for a route, validates every staged
generation, then commits — guaranteeing atomicity structurally.
Structs§
- Registration
Guard - RAII guard returned by
TemplateReloadRegistry::register. Removes the target on drop by its uniqueid(NOT route_id) — so a stopped-generation guard cannot evict a restarted-generation registration. - Template
Reload Registry - Process-global registry of template reload targets.
Traits§
- Template
Reload Staged - Erased staged-set marker with an owned-downcast accessor.
- Template
Reload Target - One reload target per registered template producer endpoint.