[GitHub] camel pull request #1195: added method to check for key existence

2016-10-12 Thread thuri
Github user thuri closed the pull request at:

https://github.com/apache/camel/pull/1195


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] camel pull request #1195: added method to check for key existence

2016-10-04 Thread thuri
GitHub user thuri opened a pull request:

https://github.com/apache/camel/pull/1195

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 

Thanks,
Michael

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

$ git pull https://github.com/thuri/camel master

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

https://github.com/apache/camel/pull/1195.patch

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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---