camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Some Notes on Using Camel
Date Mon, 17 Sep 2007 23:57:18 GMT
FYI: I've opened and started to work on
http://issues.apache.org/activemq/browse/CAMEL-149
to add that .thread() method.

On 9/1/07, Brian McCallister <brianm@skife.org> wrote:
> * Corollary -- the seda component should go away and be replaced with
> a thread pool policy. This should be done as a policy/interceptor as
> it is not an endpoint unto itself, it just controls how messages make
> their way between. Given:
>
>         from("file:foo").threadPool(10).to("wombat:nugget")
>           or
>         from("file:foo").threads(10).to("wombat:nugget")
>
>   The file component would push to a blocking queue which ten threads
> pull from and pass on to "wombat:nugget" This provides clear control
> over how threads are allocated and used to the developer -- a Good
> Thing(r).
>
> --
>
> More to say, but need to run and this email has been gathering for
> too long so will send it out incomplete.
>
> -Brian
>


-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Mime
View raw message