Method Snapshot()
Deep, isolated snapshot for checkpoint/replay. Unlike it deep-copies
the message body (In and Out) so the captured state is frozen and immune to later
in-place mutation of the payload. Properties/headers follow (values
shared) as they carry immutable route metadata.
No DI scope is created at capture: a snapshot is dormant data taken on every marker
pass and usually never replayed, so minting a scope here would leak one per message. A
snapshot that is never replayed owns nothing to dispose; a replay mints (and disposes) a
scope on demand.
Throws if a body cannot be safely deep-copied.
public IExchange Snapshot()