title: What to choose ThreadPoolTaskExecutor or SimpleAsyncTaskExecutor in my case?
body: <p>I am working on a existing Application which has got this piece of code </p>
  
  <pre><code>&lt;bean id="taskExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor"&gt;
        &lt;property name="corePoolSize" value="50" /&gt;
        &lt;property name="maxPoolSize" value="200" /&gt;
        &lt;property name="queueCapacity" value="250" /&gt;
     &lt;/bean&gt;
  </code></pre>
  
  <p>We have a method , which is using the above taskExecutor to complete a particuar task .
  (This task should be completed , but can be completed asycnchronsly ) </p>
  
  <p>This particular  task is actually  responsible to insert 100 documents into Database .</p>
  
  <p>So i was planning to use <code>SimpleAsyncTaskExecutor</code> instead of <code>ThreadPoolTaskExecutor</code> .</p>
  
  <p>Please let me know if this will impact performance or  create any issues </p>
  
  <p>Our Application is a multithreaded one , and there will be aprox 700 users at any time .</p>
  
  <p>So i dont know how it behaves under production environment (which may be fine during development )</p>