davsclaus opened a new issue, #121: URL: https://github.com/apache/camel-jbang-examples/issues/121
The route group shows the content-based router, the splitter, the aggregator, the filter and the multicast. Three EIPs that users need often are not shown anywhere: the idempotent consumer, the content enricher (`pollEnrich`) and the wire tap. A new example, `route/enrich-and-dedupe`, shows them with the web shop orders. The shop sent ORD-1001 twice (`resent-order-1001.json`): - an idempotent consumer with an in-memory repository accepts each order id once and logs the resent one as a duplicate (`skipDuplicate: false`), - `pollEnrich` reads the customer's file into a variable (`variableReceive`), so the order stays the body, - a wire tap writes a copy of each accepted order to `audit/` without holding the order up. It comes with a Citrus YAML test, and it is also a new task for the AI benchmark. _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]
