TicketFlow.Routing
0.1.0-alpha.4.1
dotnet add package TicketFlow.Routing --version 0.1.0-alpha.4.1
NuGet\Install-Package TicketFlow.Routing -Version 0.1.0-alpha.4.1
<PackageReference Include="TicketFlow.Routing" Version="0.1.0-alpha.4.1" />
<PackageVersion Include="TicketFlow.Routing" Version="0.1.0-alpha.4.1" />
<PackageReference Include="TicketFlow.Routing" />
paket add TicketFlow.Routing --version 0.1.0-alpha.4.1
#r "nuget: TicketFlow.Routing, 0.1.0-alpha.4.1"
#:package TicketFlow.Routing@0.1.0-alpha.4.1
#addin nuget:?package=TicketFlow.Routing&version=0.1.0-alpha.4.1&prerelease
#tool nuget:?package=TicketFlow.Routing&version=0.1.0-alpha.4.1&prerelease
TicketFlow.Routing
Routing and assignment for TicketFlow.
RoutingEngine(IRoutingEngine): reconciles a conversation into the routing queue and load projection, then assigns open, unassigned conversations by the target inbox'sRoutingPolicy— round robin, least busy (capacity-aware), skills-based, sticky owner with fallback, or manual. Eligibility: effectively online, in the conversation/policy team, required skills, capacity on the channel kind and Accessconversation:reply(one planned filter per agent, cached briefly). Assignment is an atomic store reservation (cursor + capacity) followed byAssignAsync(expectedRevision)as an API client, so racing workers assign exactly once.RoutingOutboxHandler: theroutingconsumer of the conversation outbox.RoutingMaintenanceWorker: retries due queue entries, applies overflow and maximum-wait rules, expires agent presence, returns offline agents' conversations to the queue per policy and prunes collision presence.- Services:
RoutingPolicyService(routing:manage),AgentAvailabilityService(agent-status:update/agent-status:manage),ConversationCollisionService(viewing/composing presence and soft reply locks),RoutingQueueService(Access-filtered queues).
services.AddTicketFlow()
.AddAccessControl().AddInMemoryAccessStores() // development only
.AddWorkspaces().AddInMemoryWorkspaceStores()
.AddContacts().AddInMemoryContactStores()
.AddConversations().AddInMemoryConversationStores()
.AddRouting(options => options.EngineClient = new ApiClientId("routing-engine"))
.AddInMemoryRoutingStores(); // development only
The engine client must hold conversation:assign in each workspace. Registrations use TryAdd. The in-memory store is a bounded,
process-local development example without durability; use TicketFlow.Routing.Stores.Postgres in production.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- TicketFlow.Conversations (>= 0.1.0-alpha.4.1)
- TicketFlow.Routing.Abstractions (>= 0.1.0-alpha.4.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on TicketFlow.Routing:
| Package | Downloads |
|---|---|
|
TicketFlow
Catch-all meta-package for the TicketFlow stack: core primitives, support domains, in-memory and PostgreSQL stores, ASP.NET Core hosting, SignalR realtime, background workers, Blazor management UI, and MCP server toolsets. |
|
|
TicketFlow.Hosting.Worker
Optional hosted workers for TicketFlow: BackgroundService loops for the conversation outbox, routing maintenance, SLA timers, automation schedules and contact follower, contact-merge catch-up, survey dispatch, live-chat session pruning, assistant maintenance, integration event delivery, retention and followers and reporting retention, with jittered backoff, health checks, metrics and durable checkpoints. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.4.1 | 43 | 11/23/2026 |
| 0.1.0-alpha.3.1 | 43 | 11/23/2026 |
| 0.1.0-alpha.2.1 | 52 | 11/22/2026 |