camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marat Bedretdinov (JIRA)" <>
Subject [jira] Commented: (CAMEL-642) jms aggregation does not work
Date Fri, 27 Jun 2008 22:45:00 GMT


Marat Bedretdinov commented on CAMEL-642:

I'm a little bit surprised how this test could have worked at all...

Looking at the route that this test is testing: 


and then debugging through it show that this portion of the route 'from("jms:queue:reply)'
 creates an event driven JMS consumer, and then the 'aggregator' bit creates a JMS polling
consumer on the *same* destination.

This is clearly a race, as we now have two consumers competing for messages off the same destination.

It seems a possible fix for this type of construct would be having the 'from' type realize
that its followed by an aggregator and then disable creation of its even driven consumer and
letting the aggregator get the messages and then deliver them to their ultimate destinations


> jms aggregation does not work
> -----------------------------
>                 Key: CAMEL-642
>                 URL:
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>            Reporter: Willem Jiang
> I found this issue when I test  Camel 1.4.0 RC2 kit, I just add a test case to show the
> You can reproduce the error if you remove the x character from xtestJmsMulticastAndAggregration()
> 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.

View raw message