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

Work on CAMEL-23515 started by Andrea Cosentino.
------------------------------------------------
> camel-nats - Use dedicated HeaderFilterStrategy aligned with sibling 
> components
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-23515
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23515
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-nats
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.14.8, 4.18.3, 4.21.0
>
>
> {{camel-nats}} currently defaults its {{headerFilterStrategy}} to a bare 
> {{new DefaultHeaderFilterStrategy()}} with no further configuration 
> ({{NatsConfiguration.java:119}}).
> 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 {{NatsHeaderFilterStrategy}} following the 
> {{KafkaHeaderFilterStrategy}} / {{MailHeaderFilterStrategy}} shape, and 
> switch the default in {{NatsConfiguration}} 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)

Reply via email to