camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Azarov (JIRA)" <>
Subject [jira] [Commented] (CAMEL-7302) Pubsub SEDA results in concurrent consumers
Date Mon, 17 Mar 2014 11:53:42 GMT


Alexander Azarov commented on CAMEL-7302:

One extra note. It seems that `disruptor` component solves the problem -

Which is great for us, we may mitigate this problem by simply switching the bus to Disruptor

> Pubsub SEDA results in concurrent consumers
> -------------------------------------------
>                 Key: CAMEL-7302
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.11.4, 2.12.3
>            Reporter: Alexander Azarov
>            Priority: Critical
> SEDA consumers by default use a single consumer thread, thus a processor may be certain
the messages come in order, i.e. sequentially.
> But this behavior changes drastically when using publish-subscribe SEDA queue. Since
it makes use of "multicast" and "paralellProcessor" internally, consumer routes get called
via a threadPool and thus the consumer effectively (and implicitly) becomes a "concurrent
> In our application this results in multiple threads running the same processor and we
cannot guarantee the messages get processed in order.
> I have prepared a small demonstration to show the case -

This message was sent by Atlassian JIRA

View raw message