Hi, I'm working with a camel route and I'd like to understand the mix
between throttle and threads:



If I introduce on the <camel:throttle configuration a value for the
executorServiceRef, will it execute the same way as wrapped by the
<camel:threads tag?



        <camel:route id="my_route">

                                           <camel:from ref="mq_endpoint" />

                                           <camel:throttle
timePeriodMillis="1000" asyncDelayed="true" executorServiceRef="my_thread_
pool_profile">

                                                          <camel:to
ref="processor_handler_endpoint" />

                                                          ..



is the same as:



                             <camel:route id="my_route">

                                           <camel:from ref="mq_endpoint" />

                                           <camel:throttle
timePeriodMillis="1000">

                                                          <camel:simple>10

                                                          </camel:simple>

                                                          <camel:threads
executorServiceRef="my_thread_pool_profile">


<camel:to ref="processor_handler_endpoint" />

                                                                        ..



?



Thanks,



Robson

Reply via email to