Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.9.0
-
None
-
Unknown
Description
Assuming we have a kamelet named aggregate that define an aggregation step, like:
- from: uri: "kamelet:source" steps: - aggregate: correlation-expression: simple: "${header.Kind}" strategy-ref: "myAggregatorStrategy" completion-size: "{{count}}" steps: - to: "log:aggregate" - to: "kamelet:sink"
And a route using such kameelt:
- from: uri: "timer:tick" steps: - set-header: name: "Kind" constant: "simple" - set-body: simple: "${exchangeProperty.CamelTimerCounter}" - to: "kamelet:aggregate?count=5" - to: "log:info"
When this code is executed, the_ log:info_ endpoint will log each individual exchange produced by the timer but not the aggregated one which is instead logged by the log:aggregate endpoint (part of the aggregate kamelet).
This happen because the route engine does not wire the kamelet:sink endpoint of the aggregate kamemelt but the route output.
Attachments
Issue Links
- is fixed by
-
CAMEL-16487 camel-request-reply - Component for request reply using in-memory queue
- Resolved
-
CAMEL-16493 camel-kamelet - Kamelet EIP
- Resolved