GitHub user 1984shekhar opened a pull request:

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

    Replaced deprecated method "groupExchanges()" in junit test-cases within 
camel-core.

    Hi,
    
    As suggested previously I did changes to all the test-cases and replaced 
deprecated method groupExchanges() in all. Except one 
AggregateGroupedExchangeCompletionExpressionSizeTest.
    I see below code fragment fails. Might be expression is not playing well 
with GroupedExchangeAggregationStrategy or I am missing something.
    .aggregate(new 
GroupedExchangeAggregationStrategy()).constant(true).completionSize(header("size")).
    
    Hence not committed AggregateGroupedExchangeCompletionExpressionSizeTest 
testcase. 
    AggregateGroupedExchangeBackwardsCompTest which provides backwards 
compatibility is intact.

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

    $ git pull https://github.com/1984shekhar/camel master

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

    https://github.com/apache/camel/pull/1021.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 #1021
    
----
commit b17361b86cb9cf16fe700d4db8d39ad0e3651712
Author: 1984shekhar <shekhar.cs...@yahoo.co.in>
Date:   2016-06-09T12:32:57Z

    Modified AggregateGroupedExchangeTest replacing deprecated
    groupExchanges() method.

commit 75349501084742b6473ad430d10b749fb5f51048
Author: 1984shekhar <shekhar.cs...@yahoo.co.in>
Date:   2016-06-09T17:40:54Z

    Replaced deprecated method ".groupExchanges()".

----


---
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.
---

Reply via email to