You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/02/15 06:12:00 UTC

[jira] [Created] (CAMEL-16207) camel-core - Optimize HeaderFilterStrategy with startsWith pattern

Claus Ibsen created CAMEL-16207:
-----------------------------------

             Summary: camel-core - Optimize HeaderFilterStrategy with startsWith pattern
                 Key: CAMEL-16207
                 URL: https://issues.apache.org/jira/browse/CAMEL-16207
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 3.9.0


Instead of reg exp pattern that causes overhead compared to a quick startsWith check, then lets add a way for quickly filtering by startsWith.

Then we can check for starts with

Camel*
camel*
org.apache.camel.*

As they are not intended as protocol/user headers.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)