Andrea Cosentino created CAMEL-23313:
----------------------------------------
Summary: HeaderFilter Strategies: add lowerCase where it's not
present - JMS, SJMS, CoAP, Google PubSub
Key: CAMEL-23313
URL: https://issues.apache.org/jira/browse/CAMEL-23313
Project: Camel
Issue Type: Improvement
Components: camel-coap, camel-jms, camel-sjms, camel-google-pubsub
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
Several HeaderFilterStrategy implementations are still missing the
setLowerCase(true) call that was applied to other components for consistency.
Aligning these ensures the Camel header starts-with filtering behaves the same
way across components.
Classes to update:
- camel-jms: JmsHeaderFilterStrategy, ClassicJmsHeaderFilterStrategy
- camel-sjms: SjmsHeaderFilterStrategy
- camel-coap: CoAPHeaderFilterStrategy
- camel-google-pubsub: GooglePubsubHeaderFilterStrategy
The pattern already applied in HttpHeaderFilterStrategy,
Sqs2HeaderFilterStrategy, MailHeaderFilterStrategy, etc. is to call
setLowerCase(true) in the constructor / initialize() method.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)