Andrea Cosentino created CAMEL-24085:
----------------------------------------

             Summary: 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


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)

Reply via email to