feat: wire subject transforms into NatsServer message delivery path

This commit is contained in:
Joseph Doherty
2026-02-23 04:45:08 -05:00
parent afbbccab82
commit d5a0274fc9
3 changed files with 130 additions and 0 deletions

View File

@@ -97,5 +97,8 @@ public sealed class NatsOptions
// Per-subsystem log level overrides (namespace -> level)
public Dictionary<string, string>? LogOverrides { get; set; }
// Subject mapping / transforms (source pattern -> destination template)
public Dictionary<string, string>? SubjectMappings { get; set; }
public bool HasTls => TlsCert != null && TlsKey != null;
}