Class TsakAuditRouteBuilder
Audit writer: direct://tsak-audit → INSERT into tsak_audit_log.
Values arrive as audit.* headers, the sanitized argument JSON as the body.
The sink is an endpoint on purpose: pointing the same event stream at a file, a broker or
an HTTP collector is a configuration change, not a code change.
The endpoint names the statement instead of carrying it. The INSERT is a named query the writer
publishes on its own context, and its values travel as a map keyed by column, which the sql
connector binds to :#column by itself. Before, the INSERT text and seventeen param.*
options were the endpoint URI — printed whole in every start log and on the Endpoints page.
Whoever mounts the writer still publishes only the data source, as before.
public sealed class TsakAuditRouteBuilder : RouteBuilder, IRouteBuilder
Inheritance
Implements
Inherited Members
RouteBuilder.Body(),RouteBuilder.Configure(),RouteBuilder.Constant(object),RouteBuilder.Context,RouteBuilder.Definitions,RouteBuilder.ExceptionDefinitions,RouteBuilder.Exchange(Func<IExchange, object?>),RouteBuilder.Expr(string),RouteBuilder.From(string),RouteBuilder.Header(string),RouteBuilder.Intercept(),RouteBuilder.InterceptFrom(string?),RouteBuilder.Intercepts,RouteBuilder.InterceptSendToEndpoint(string),RouteBuilder.jpath(string),RouteBuilder.JPath(string),RouteBuilder.jpath<T>(string),RouteBuilder.JPath<T>(string),RouteBuilder.Method(string, string),RouteBuilder.OnCompletion(),RouteBuilder.OnCompletions,RouteBuilder.OnException(params Type[]),RouteBuilder.OnException<TException>(),RouteBuilder.Placeholder(string),RouteBuilder.Property(string),RouteBuilder.RouteConfigurations,RouteBuilder.RouteConfiguration(string?),RouteBuilder.SplitJsonArray(),RouteBuilder.SplitLines(string, bool),RouteBuilder.SplitXml(string, string?),RouteBuilder.xpath(string),RouteBuilder.XPath(string),RouteBuilder.xpath(string, XPathResult),RouteBuilder.XPath(string, XPathResult),RouteBuilder.xpath<T>(string),RouteBuilder.XPath<T>(string)