small correction on the bench code:

<from uri="direct:in"/>
<threads executorServiceRef="my20PoolSizeThreadPool">
  <to Uri="mock:out"/>
</threads>

versus

<route>
  <from
    uri="seda:in?concurrentConsumers=20"/>
    <to Uri="mock:out"/>
</route>

2017-10-24 21:34 GMT-02:00 Robson Vargas Farias <
robsonvargasfar...@gmail.com>:

> I'm trying to figure out the real world usage on both asynchronous
> options... even trying to fit a way where I could mix ... but not sure
> whether this makes sense...
>
> so, the question is, what's the basic difference using one or another,
> like:
>
> <from uri="direct:in"/>
> <threads executorServiceRef="my20PoolSizeThreadPool">
>   <to Uri="mock:out"/>
> </threads>
>
> versus
>
> <route>
>   <from
>     uri="seda:in=20"/>
>     <to Uri="mock:out"/>
> </route>
>
>
>

Reply via email to