Class ExecConsumer
Scheduled exec consumer. Fires the configured command on a fixed interval (via
) and pushes the resulting exchange into the route pipeline.
Supported schedule formats: 500ms, 30s, 5m, 1h.
Cron expressions are intentionally not handled here — chain
From("quartz://<cron>").To("exec://run?command=...") when cron is required.
public sealed class ExecConsumer : IConsumer
Inheritance
Implements
Properties
Endpoint
The endpoint this consumer is attached to (for diagnostics/logging).
public IEndpoint? Endpoint { get; }
Methods
Constructors
ExecConsumer(ExecEndpoint, ExecEndpointOptions, IProcessor)
Creates a scheduled exec consumer.