title: What's Spring's default queue size with a ThreadPoolTaskExecutor?
body: <p>I'm using Spring 4.3.8.RELEASE with Java 7.  I want to create a thread pool to execute tasks so I have set up the following in my Spring contxet</p>
  
  <pre><code>&lt;bean id="myThreadFactory" class="org.springframework.scheduling.concurrent.CustomizableThreadFactory"&gt;
      &lt;constructor-arg value="mythread-"/&gt;
  &lt;/bean&gt;
  &lt;bean id="taskExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor"&gt;
      &lt;property name="threadFactory" ref="myThreadFactory"/&gt;
      &lt;property name="corePoolSize" value="10" /&gt;
      &lt;property name="maxPoolSize" value="50" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>So as not to crush machine CPU usage, I want to limit the amount of concurrent threads that can exist in the system (I assume that's what maxPOolSize does).  But I don't want tasks to get dropped.  If I add more than 50 tasks to my taskPoolExecutor, what happens to number 51?  More importantly, what is the default number of tasks that can be added before they start getting dropped?</p>