Path: redb-route/tests/redb.Route.Tests.Xml/Examples/Generated/ScopeDiagRoutes.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/tests/redb.Route.Tests.Xml/Examples/Generated/ScopeDiagRoutes.cs ---- // /scope-diag.route.xml — do not edit; regenerate instead. /> #nullable enable using System; using System.Collections.Generic; using Microsoft.Extensions.Logging; using redb.Route.Abstractions; using redb.Route.Aggregation; using redb.Route.ControlBus; using redb.Route.Core; using redb.Route.Transactions; using redb.Route.Xml; using redb.Route.Xslt; namespace redb.Route.Tests.Xml.Examples.Generated; /// A generated route builder — see the header for the source file. public sealed class ScopeDiagRoutes : RouteBuilder { protected override void Configure() { Context!.AddToRegistry("scopeDiag", XmlBeans.Create(Context!, "Acme.Diagnostics.ScopeDiagProbe, Acme.Diagnostics", [], [])); // Diagnostics of the parallel splitter's scopes var route0 = From("timer://scope-diag?period=60000&delay=10000"); route0.RouteId("demo-scope-diag"); route0.Description("Diagnostics of the parallel splitter's scopes"); route0.AutoStart(false); route0.Log("[SCOPE-DIAG] Starting parallel split: 50 items, maxDop=5"); route0.To("bean:#scopeDiag?method=Reset"); var s1 = route0.Split(Expr("body")); s1.ParallelProcessing(); s1.MaxParallelism(5); s1.To("bean:#scopeDiag?method=ProbeItem"); s1.EndSplit(); route0.To("bean:#scopeDiag?method=Summarize"); } }