You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/05/19 11:09:00 UTC

[jira] [Resolved] (CAMEL-23516) camel-xmpp - Use dedicated HeaderFilterStrategy aligned with sibling components

     [ https://issues.apache.org/jira/browse/CAMEL-23516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino resolved CAMEL-23516.
--------------------------------------
    Resolution: Fixed

> camel-xmpp - Use dedicated HeaderFilterStrategy aligned with sibling components
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-23516
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23516
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-xmpp
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.14.8, 4.18.3, 4.21.0
>
>
> {{camel-xmpp}} currently defaults its {{headerFilterStrategy}} to a bare {{new DefaultHeaderFilterStrategy()}} with no further configuration ({{XmppEndpoint.java:106}}).
> Other components in the same area (camel-kafka, camel-mail, camel-coap, camel-google-pubsub, camel-jms, camel-sjms) ship a dedicated subclass that configures {{setInFilterStartsWith("Camel", "camel", "org.apache.camel.")}} and {{setLowerCase(true)}} so the inbound header set is aligned with the rest of the project.
> Proposal: introduce {{XmppHeaderFilterStrategy}} following the {{KafkaHeaderFilterStrategy}} / {{MailHeaderFilterStrategy}} shape, and switch the default in {{XmppEndpoint}} to use the new strategy. Add unit tests on the new strategy and an upgrade-guide entry for 4.21.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)