camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <babak.vah...@swissonline.ch>
Subject Re: Is the SEDA producer really async?
Date Sun, 23 Sep 2012 12:32:20 GMT
> Hi fellow riders,

> The async routing engine page in the docs [1] suggests that the SEDA
> Producer is async.
> I may be slightly confused, but I don't see the SedaProducer returning
> "false" in its process() method at any point (overridden from
> DefaultAsyncProducer).


BTW the method is *not* overridden from DefaultAsyncProducer because it
does not implement the process method signature with 2 arguments from the
AsyncProcessor interface at all.
Actually the reason why it's marked to be abstract.

Babak

> In fact, all unit tests that require the async routing engine to be in
> place use a utility component called MyAsyncComponent, rather than SEDA.

> Am I missing something?

> [1] http://camel.apache.org/asynchronous-routing-engine.html

> Thanks! 
> Raúl. 



Mime
View raw message