[
https://issues.apache.org/jira/browse/CAMEL-24085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097077#comment-18097077
]
Andrea Cosentino commented on CAMEL-24085:
------------------------------------------
Fixed on main via https://github.com/apache/camel/pull/24828 (milestone
4.22.0): IronMQ message envelope headers are now routed through the endpoint
HeaderFilterStrategy.
_Claude Code on behalf of oscerd_
> camel-ironmq: apply header filter strategy when mapping message envelope
> headers
> --------------------------------------------------------------------------------
>
> Key: CAMEL-24085
> URL: https://issues.apache.org/jira/browse/CAMEL-24085
> Project: Camel
> Issue Type: Improvement
> Components: camel-ironmq
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.22.0
>
>
> When receiving a message, the IronMQ consumer deserializes a JSON envelope (a
> headers map and a body) and copies the embedded header entries onto the Camel
> message ({{GsonUtil.copyFrom}}, called from {{IronMQConsumer}}) without
> applying a {{HeaderFilterStrategy}}.
> For consistency with other consumers, the embedded header keys should be
> filtered so that Camel-internal headers (the {{Camel*}} namespace, matched
> case-insensitively) present in the message envelope are not mapped onto the
> Camel message.
> Note: camel-ironmq is deprecated since 4.21.
> _Filed by Claude Code on behalf of Andrea Cosentino (@oscerd)._
--
This message was sent by Atlassian Jira
(v8.20.10#820010)