我在xml文件下面使用。这里我需要在ThreadPoolTaskExecutor上注入java.util.concurrent.BlockingQueue。我怎样才能做到这一点?分享任何想法!
<bean id="applicationEventMulticaster" class="org.springframework.context.event.SimpleApplicationEventMulticaster">
<property name="taskExecutor">
<bean class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
</bean>
</property>
</bean>