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

Andrea Cosentino updated CAMEL-23507:
-------------------------------------
    Fix Version/s: 4.21.0
                   4.18.3
                   4.14.8

> camel-cometd: Integrate HeaderFilterStrategy for inbound header mapping
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-23507
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23507
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cometd
>            Reporter: Andrea Cosentino
>            Assignee: Federico Mariani
>            Priority: Major
>             Fix For: 4.14.8, 4.18.3, 4.21.0
>
>
> Background
> CAMEL-23222 tracks the project-wide initiative to integrate 
> HeaderFilterStrategy on the inbound path of components that map external 
> metadata into the Camel Exchange header map. Components already covered under 
> this initiative include camel-coap, camel-mail, camel-cxf, camel-knative and 
> camel-google-pubsub.
> camel-cometd is not yet covered.
> Proposed change
> Align camel-cometd with the rest of the CAMEL-23222 rollout:
> * Introduce a CometdHeaderFilterStrategy.
> * Expose it as a configurable headerFilterStrategy option on the component / 
> endpoint, defaulting to the new strategy.
> * Apply the strategy in CometdBinding on both the inbound and outbound paths, 
> following the convention used by JmsBinding.
> * Add a unit test covering inbound filtering.
> Affected files
> * 
> components/camel-cometd/src/main/java/org/apache/camel/component/cometd/CometdBinding.java
> * 
> components/camel-cometd/src/main/java/org/apache/camel/component/cometd/CometdComponent.java
> * 
> components/camel-cometd/src/main/java/org/apache/camel/component/cometd/CometdEndpoint.java
> * (new) CometdHeaderFilterStrategy.java
> * (new) test under src/test/java
> Reference
> Parent initiative: CAMEL-23222
> Sibling implementation pattern: JmsBinding in camel-jms
> ----
> _Filed by Claude Code on behalf of Andrea Cosentino_



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

Reply via email to