Class LlmConsumer
LLM consumer. Fires the connection factory on a fixed interval and pushes
the agent response into the route pipeline as a normal exchange.
Supported schedule formats:
30s / 5m / 1h — fixed interval via .A cron expression — rejected with a redirect to From("quartz://...")
which already handles cron scheduling.
The initial user message comes from .
A leading # turns the value into a registry reference: ?initialBodyRef=#daily-brief
resolves daily-brief first via (latest version),
then via 's named-object registry. Any other route can
rewrite the same key at runtime, giving the scheduled agent a fresh prompt every tick
without touching the route definition. Plain values are used verbatim.
public sealed class LlmConsumer : IConsumer
Inheritance
Implements
Properties
Endpoint
The endpoint this consumer is attached to (for diagnostics/logging).
public IEndpoint? Endpoint { get; }
Methods
Constructors
LlmConsumer(LlmEndpoint, LlmEndpointOptions, IProcessor)
Creates a consumer.