Claus Ibsen created CAMEL-26125:
-----------------------------------
Summary: camel-jcr - the insert operation drops every incoming
header
Key: CAMEL-26125
URL: https://issues.apache.org/jira/browse/CAMEL-26125
Project: Camel
Issue Type: Bug
Components: camel-jcr
Reporter: Claus Ibsen
Fix For: 4.24.0
Found while adding the catalog body types of smb, jt400 and jcr (CAMEL-24961,
PR #28417).
h4. 1. Insert drops every incoming header
{{JcrProducer.process}} (main 2a465aa4814c, line 75) writes the id of the new
node with {{exchange.getOut().setBody(...)}}, so the out message has no headers
and every header of the incoming message is gone after the producer. Checked on
4.24.0-SNAPSHOT with an in-memory Jackrabbit.
Proposed: use {{exchange.getMessage().setBody(...)}}.
_Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)