title: Error creating bean, can't inject a new LinkedBlockingQueue as a constructor to ThreadPoolExecutor
body: <p>I'm trying to create a ThreadPoolExecutor bean which needs to be passed as a property to a number of other beans.</p>
  
  <p>I have defined the following, but I'm encountering an odd error creating the LinkedBlockingQueue (seen below).</p>
  
  <pre><code>&lt;bean name="moduleExecutorService" class="java.util.concurrent.ThreadPoolExecutor"&gt;
      &lt;constructor-arg value="1" /&gt;   &lt;!-- Minimun # of threads in pool --&gt;
      &lt;constructor-arg value="20" /&gt;  &lt;!-- Maximum # of threads in pool (pool is a caching pool that will only keep open those necessary) --&gt;
      &lt;constructor-arg value="60" /&gt;  &lt;!-- Shutdown unused threads after this TimeUnit --&gt;
      &lt;constructor-arg&gt;
          &lt;bean class="java.util.concurrent.TimeUnit" factory-method="valueOf"&gt;
              &lt;constructor-arg value="SECONDS" /&gt;
          &lt;/bean&gt;
      &lt;/constructor-arg&gt;
      &lt;constructor-arg type="java.util.concurrent.LinkedBlockingQueue"&gt;&lt;bean class="java.util.concurrent.LinkedBlockingQueue" /&gt;&lt;/constructor-arg&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p><br><strong>Error:</strong></p>
  
  <pre><code>446  [main] DEBUG org.springframework.beans.TypeConverterDelegate  - Cannot create copy of Collection type [java.util.concurrent.LinkedBlockingQueue] - injecting original Collection as-is
  java.lang.InstantiationException: java.util.concurrent.BlockingQueue
  </code></pre>