GitHub user anoordover opened a pull request:

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

    CAMEL-10116: Retrieve last MessageHistory when getting NodeId and Rou…

    Following changes are made:
    
    - MessageHistories is changed to LinkedList to facilitate getting last item;
    - The fetching of the NodeId and RouteId from the last MessageHistory in 
the AwaitThreadEntry is moved to the methods getNodeId and getRouteId.
    
    The test on AsyncProcessorAwaitManager is changed which shows that the 
dumping of the last NodeId and RouteId is error-prone.
    
    I suddenly see that I used java 8 optional and lambda's to get the last 
NodeId, so I guess this can't be cherry-picked to 2.17.3 as is. Sorry.

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

    $ git pull https://github.com/anoordover/camel CAMEL-10116

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

    https://github.com/apache/camel/pull/1063.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 #1063
    
----
commit d940bf8d40279f14d1a677ceff0e5afc3f42e191
Author: Arno Noordover <anoordo...@users.noreply.github.com>
Date:   2016-07-05T18:24:35Z

    CAMEL-10116: Retrieve last MessageHistory when getting NodeId and RouteId

----


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