davsclaus opened a new issue, #152: URL: https://github.com/apache/camel-jbang-examples/issues/152
The examples have no time-based EIPs: an aggregation that completes every time window, a throttle per key, or noticing that a source went silent. Models get these wrong, and they are everyday IoT and monitoring tasks. Proposed example, `connect-service/iot-telemetry`, building on the cold rooms of `connect-service/mqtt`: three simulated sensors publish a reading every second on `warehouse/<room>/temperature` (Mosquitto with `camel infra run mosquitto`). cold-room-3 runs too warm, and cold-room-2 stops after five readings. Build it step by step: 1. Subscribe to all rooms with a wildcard topic and log each reading. 2. Log the average per room every ten seconds (`aggregate` with `completionInterval`). 3. Alert above 8 degrees, at most once per room per window (`throttle` with a correlation expression). 4. Warn when a room sends nothing for ten seconds (`aggregate` with `completionTimeout`). With a Citrus YAML test, run with `camel test run`. _Claude Code on behalf of davsclaus_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
