Method ReleaseScopes()
Releases DI scopes (main scope + named __redb_scope:* entries) and the resources registered with
, without disposing the exchange body or headers. For an exchange
no route owns (a Split or Multicast branch) it also ends the unit of work, running the completions registered with
.
Call after processing to free DB connections early while keeping message data alive for aggregation.
Idempotent — safe to call multiple times.
ValueTask ReleaseScopes()