You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/09/29 06:47:00 UTC
[jira] [Resolved] (CAMEL-25131) Match header names in any case in components
[ https://issues.apache.org/jira/browse/CAMEL-25131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-25131.
---------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/camel/pull/27040 (merged to main, 4.23.0).
_Claude Code on behalf of davsclaus_
> Match header names in any case in components
> --------------------------------------------
>
> Key: CAMEL-25131
> URL: https://issues.apache.org/jira/browse/CAMEL-25131
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.23.0
>
>
> Message headers are case-insensitive, so a Camel header can be named Camel*, camel*, CAMEL* or any other case. Some code checks for Camel headers with a case-sensitive key.startsWith("Camel"):
> * camel-tracing: CamelHeadersInjectAdapter, CamelMessagingHeadersInjectAdapter
> * camel-telemetry: CamelHeadersSpanContextPropagationInjector, CamelJMSHeadersSpanContextPropagationInjector
> * camel-netty-http: DefaultNettyHttpBinding.copyCamelHeaders, NettyHttpProducer.removeCamelHeaders
> * camel-support: DefaultExchangeHolder (log level of headers that cannot be serialized)
> These should match the Camel prefix in any case (as DefaultHeaderFilterStrategy already does).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)