Skip to content

[CAMEL-20139]: fix for incorrect correlation key in first aggregated message#12121

Merged
davsclaus merged 3 commits intoapache:mainfrom
dinurp:main-aggregate-fix
Nov 22, 2023
Merged

[CAMEL-20139]: fix for incorrect correlation key in first aggregated message#12121
davsclaus merged 3 commits intoapache:mainfrom
dinurp:main-aggregate-fix

Conversation

@dinurp
Copy link
Copy Markdown
Contributor

@dinurp dinurp commented Nov 21, 2023

Description

fix for
[CAMEL-20139]: aggregate EIP: wrong correlation key set for the first aggregate exchange

When completing aggregation, original message of the completing message was passed as original messages for all batches. Now the completing message is passed as the original message only for its batch; for others, the aggregate message in the repository is passed as the original message.

Target

  • I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.

  • I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

@github-actions
Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run

  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot.

  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.

  • Build and test logs are available in the Summary page. Only Apache Camel committers have access to the summary.

  • ⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

Copy link
Copy Markdown
Contributor

@oscerd oscerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just minor findings.

@dinurp dinurp requested a review from oscerd November 21, 2023 14:28
@davsclaus davsclaus merged commit 3a49782 into apache:main Nov 22, 2023
davsclaus pushed a commit that referenced this pull request Nov 22, 2023
…message (#12121)

* [CAMEL-20139]: fix for incorrect correlation key in first aggregated message

* [CAMEL-20139]: remove SNIPPET tags
davsclaus pushed a commit that referenced this pull request Nov 22, 2023
…message (#12121)

* [CAMEL-20139]: fix for incorrect correlation key in first aggregated message

* [CAMEL-20139]: remove SNIPPET tags
davsclaus pushed a commit that referenced this pull request Nov 22, 2023
…message (#12121)

* [CAMEL-20139]: fix for incorrect correlation key in first aggregated message

* [CAMEL-20139]: remove SNIPPET tags
davsclaus pushed a commit that referenced this pull request Nov 22, 2023
…message (#12121)

* [CAMEL-20139]: fix for incorrect correlation key in first aggregated message

* [CAMEL-20139]: remove SNIPPET tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants