You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by gquintana <ge...@gmail.com> on 2014/11/25 11:07:45 UTC
Multicast with multiple timeouts
Hello,
I am sending a message to multicast parallel processor with a 2s timeout:
I thought the timeout would protect against any slow consumer. But I noticed
that as soon a single consumer exceeds timeout, some of the following
consumer results are not agregated:
I expected to have "HELLO E" in the result, since the consumer replies fast
enough.
I know I have several workarounds:
- Use multicast(...).parallelProcessing().streaming(), but I'll lose the
response ordering
- Use a seda endpoint to handle the timeout for each consumer, but it gets
more complicated
Is there a better/simpler solution? Is it un bug or feature?
Thanks for advice,
Gérald
--
View this message in context: http://camel.465427.n5.nabble.com/Multicast-with-multiple-timeouts-tp5759576.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Multicast with multiple timeouts
Posted by Willem Jiang <wi...@gmail.com>.
I just created a JIRA[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL-8081
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On November 26, 2014 at 9:44:27 PM, gquintana (gerald.quintana@gmail.com) wrote:
> Is there an issue I can follow or should I create one?
> Gérald
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Multicast-with-multiple-timeouts-tp5759576p5759646.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Re: Multicast with multiple timeouts
Posted by gquintana <ge...@gmail.com>.
Is there an issue I can follow or should I create one?
Gérald
--
View this message in context: http://camel.465427.n5.nabble.com/Multicast-with-multiple-timeouts-tp5759576p5759646.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Multicast with multiple timeouts
Posted by Willem Jiang <wi...@gmail.com>.
I can reproduce the error, the patch is on the way.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On November 26, 2014 at 12:19:05 AM, gquintana (gerald.quintana@gmail.com) wrote:
> Clean and simple test case:
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Multicast-with-multiple-timeouts-tp5759576p5759596.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Re: Multicast with multiple timeouts
Posted by gquintana <ge...@gmail.com>.
Clean and simple test case:
--
View this message in context: http://camel.465427.n5.nabble.com/Multicast-with-multiple-timeouts-tp5759576p5759596.html
Sent from the Camel - Users mailing list archive at Nabble.com.