Adriano Machado created CAMEL-26389:
---------------------------------------
Summary: camel-core - RedeliveryErrorHandler: keep a copy of the
IN message for redelivery instead of the whole Exchange
Key: CAMEL-26389
URL: https://issues.apache.org/jira/browse/CAMEL-26389
Project: Camel
Issue Type: Sub-task
Components: camel-core
Reporter: Adriano Machado
Tier 1 item #2 of CAMEL\-25132. When redelivery is enabled,
RedeliveryTask.prepare copies the whole Exchange at every node on the success
path, but redeliver\(\) only reads original.getIn\(\). Store
exchange.getIn\(\).copy\(\) instead \(measured on 10 nodes: 8712 \-> 2408
bytes/exchange, 1550 \-> 1158 ns\). Deprecate the protected
defensiveCopyExchangeIfNeeded.
_Claude Code on behalf of Adriano Machado \(@ammachado\)_
_This was generated by an AI agent and may contain inaccuracies. Please verify
before relying on it._
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)