[
https://issues.apache.org/jira/browse/CAMEL-26278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-26278 started by Andrea Cosentino.
------------------------------------------------
> camel-hazelcast - the hazelcast-seda consumer restores the headers and
> properties of an exchange holder even with transferExchange=false
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-26278
> URL: https://issues.apache.org/jira/browse/CAMEL-26278
> Project: Camel
> Issue Type: Bug
> Components: camel-hazelcast
> Reporter: Claus Ibsen
> Assignee: Andrea Cosentino
> Priority: Minor
> Fix For: 4.24.0
>
>
> Found while adding the catalog body types of hazelcast-seda (CAMEL-24961, PR
> #28396).
> {{HazelcastSedaConsumer}} (main 2a465aa4814c, lines 118-119) unmarshals any
> {{DefaultExchangeHolder}} it takes from the queue into the exchange, with its
> headers and exchange properties, whatever the {{transferExchange}} option of
> the consumer endpoint says. {{transferExchange}} defaults to false, which the
> page describes as transferring the body only.
> Proposed: restore an exchange holder only when {{transferExchange=true}} on
> the consumer; otherwise take the body of the holder (or the item as it is).
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)