Path: redb-route/redb.Route/Abstractions/IProcessorDefinition.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/redb.Route/Abstractions/IProcessorDefinition.cs
----
namespace redb.Route.Abstractions;
///
/// Camel-canonical processor definition. Each EIP node implements this interface
/// and knows how to compile itself into a runtime .
///
public interface IProcessorDefinition
{
/// Child nodes compiled as a linear pipeline by default.
IList Outputs { get; }
/// Parent node in the AST; null for the root route.
IProcessorDefinition? Parent { get; set; }
/// Compile this node into a runtime processor.
IProcessor CreateProcessor(IRouteContext context);
}