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

Claus Ibsen commented on CAMEL-2517:
------------------------------------

This is much better.

I can see the timeout map is evicting the 2 messages as expected but in your 
case they are send in reverse order.
Which means its backing ConcurrentHasMap is operating differently on Windows 
than eg. Mac.

I digged into the timeout map and have enhanced it to resort the evicted 
entries, which means it should send out the messages in correct order, eg the 
first expired first, and the last last.

So when I have run the test to completion you can try again with latest code 
from trunk.


> AggregateGroupedExchangeMultipleCorrelationTest fails
> -----------------------------------------------------
>
>                 Key: CAMEL-2517
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2517
>             Project: Apache Camel
>          Issue Type: Test
>          Components: camel-core
>    Affects Versions: 2.2.0
>         Environment: Windows Vista
>            Reporter: Christian Schneider
>             Fix For: 2.3.0
>
>         Attachments: camel-core-2010-01-02.patch, 
> camel-core-2010-03-03.patch, failure_100ms.txt, success_1000ms.txt
>
>
> On my system the test AggregateGroupedExchangeMultipleCorrelationTest fails. 
> It seems the Thread.sleep(100) is too short.
> When I increase to at least 900ms it works. To add some safety I propose to 
> increase to 1000ms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to