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

Claus Ibsen commented on CAMEL-642:
-----------------------------------

Willem Jiang has commited the patch. However unit test fails on my local laptop:

{code}
-------------------------------------------------------------------------------
Test set: org.apache.camel.component.jms.AggregratedJmsRouteTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 28.204 sec <<< 
FAILURE!
testJmsMulticastAndAggregration(org.apache.camel.component.jms.AggregratedJmsRouteTest)
  Time elapsed: 21.625 sec  <<< ERROR!
java.lang.AssertionError: mock:reply Received message count. Expected: <2> but 
was: <0>
            at 
org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:662)
            at 
org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:644)
            at 
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:223)
            at 
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:199)
            at 
org.apache.camel.component.jms.AggregratedJmsRouteTest.testJmsMulticastAndAggregration(AggregratedJmsRouteTest.java:66)
{code}

> jms aggregation does not work
> -----------------------------
>
>                 Key: CAMEL-642
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-642
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>         Attachments: defaultcamelcontext_patch.txt, patch.txt
>
>
> I found this issue when I test  Camel 1.4.0 RC2 kit, I just add a test case 
> to show the error.
> https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/AggregratedJmsRouteTest.java
> You can reproduce the error if you remove the x character from 
> xtestJmsMulticastAndAggregration() method.
> BTW the test case works with the Camel 1.4.0 RC1.

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