[
https://issues.apache.org/jira/browse/CAMEL-23516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino reassigned CAMEL-23516:
----------------------------------------
Fix Version/s: 4.21.0
4.18.3
4.14.8
Assignee: Andrea Cosentino
> 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)