Skip to main content

Crate camel_component_timer

Crate camel_component_timer 

Source
Expand description

Timer component for rust-camel — fires Exchange events on configurable period, delay, and repeat-count schedules.

Main types: TimerComponent, TimerConsumer, TimerConfig, TimerEndpoint. URI format: timer:name?period=1000&delay=0&repeatCount=0.

§Features

  • fixedRate: When enabled, uses skip-missed-tick semantics instead of burst.
  • includeMetadata: Controls whether timer metadata headers are included in exchanges.
  • Double-start protection via AtomicBool guard.

Structs§

TimerComponent
The Timer component produces exchanges on a periodic interval.
TimerConfig
Configuration parsed from a timer URI.
TimerConsumer
TimerEndpoint