Time Channel Adapter
The time adapter generates periodic ticks and injects them as messages into the flow.
It is useful for scheduled pipelines, external resource polling, and timer-based workflows.
Usage
Pipelite.defineFlow("scheduled-flow")
.fromSource("time://ticker?period=5000") (1)
.process("check", exchange -> {
// logic executed every 5 seconds
})
.toSink("slf4j://log")
.build();
| 1 | Generates a tick every 5000 ms. |