Skip to content

CAMEL-23193: Do copy attachments to new JmsMessage#21993

Open
graben wants to merge 1 commit intoapache:mainfrom
graben:CAMEL-23193
Open

CAMEL-23193: Do copy attachments to new JmsMessage#21993
graben wants to merge 1 commit intoapache:mainfrom
graben:CAMEL-23193

Conversation

@graben
Copy link
Contributor

@graben graben commented Mar 13, 2026

No description provided.

@graben graben marked this pull request as ready for review March 13, 2026 16:17
Copy link
Contributor

@gnodet gnodet left a comment

Choose a reason for hiding this comment

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

LGTM. The JmsMessage.copyFrom() override skips super.copyFrom() for JMS-specific handling but was missing the attachment copy that MessageSupport.copyFromWithNewBody() performs. The fix correctly adds the same pattern.

@github-actions
Copy link
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 although they are normally detected and executed by CI.
  • 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.

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.

4 participants