camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thuri <>
Subject [GitHub] camel pull request #1195: added method to check for key existence
Date Tue, 04 Oct 2016 09:24:34 GMT
GitHub user thuri opened a pull request:

    added method to check for key existence

    Sometimes it is necessary to check for the existence but not fetching the value.
    For example in a filefilter that uses the aggregationRepository to dtermine wheter a file
should be consumed or not we don't need to fetch the actual DefaultExchangeHolder object and
unmarshal it. 
    So in this fileFilter we can use the containsKey method to delegate to the actual map
and return the presence of the key.
    If possible we'd like to have that change from camel 2.16.x 

You can merge this pull request into a Git repository by running:

    $ git pull master

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1195
commit 02bae291cf0fbaa48c8e0f60e0a0c8e622a9fd4e
Author: Michael Lück <>
Date:   2016-10-04T09:18:04Z

    added method to check for key existence


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message