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/03/14 16:45:00 UTC

[jira] [Commented] (CAMEL-16355) camel-core - Optimize Filter and Choice EIP

    [ https://issues.apache.org/jira/browse/CAMEL-16355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17301198#comment-17301198 ] 

Claus Ibsen commented on CAMEL-16355:
-------------------------------------

This requires a change in aws2-sqs

camel-aws/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Consumer.java:        boolean shouldDeleteByFilter = exchange.getProperty(ExchangePropertyKey.FILTER_MATCHED) != null
camel-aws/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Consumer.java:        return exchange.getProperty(ExchangePropertyKey.FILTER_MATCHED, false, Boolean.class);

> camel-core - Optimize Filter and Choice EIP
> -------------------------------------------
>
>                 Key: CAMEL-16355
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16355
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.9.0
>
>
> They store an exchange property if a filter matched. But that information is not really in use by Camel, and it can be optimized to not be set. This can optize the CBR EIP which is frequently in use.



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