Andrea Cosentino created CAMEL-23516:
----------------------------------------
Summary: 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
{{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)