[
https://issues.apache.org/jira/browse/CAMEL-25763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-25763.
---------------------------------
Fix Version/s: (was: 4.24.0)
Resolution: Duplicate
Moved to apache/camel-jbang-examples#121
(https://github.com/apache/camel-jbang-examples/issues/121):
camel-jbang-examples tracks its work in its own GitHub issues. The example is
in PR #116 there.
_Claude Code on behalf of davsclaus_
> camel-jbang-examples - route/enrich-and-dedupe: idempotent consumer,
> pollEnrich into a variable, and a wire tap
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-25763
> URL: https://issues.apache.org/jira/browse/CAMEL-25763
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
>
> The route rung of camel-jbang-examples 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 message was sent by Atlassian Jira
(v8.20.10#820010)