ThreadPoolTaskExecutor « Thread « Spring Q&A





1. What is the difference between corePoolSize and maxPoolSize in the Spring ThreadPoolTaskExecutor    stackoverflow.com

I have to send out massEmails to all users of a website. I want to use a thread pool for each email that is sent out. Currently I have set the ...

2. Spring ThreadPoolTaskExecutor only running one thread    stackoverflow.com

We are using ThreadPoolExecutor in our JMS consumer and injecting it into a DefaultMessageListenerContainer. I expect this to be running concurrent threads for many messages however our logs show that the ...

3. Determine configurations of a ThreadPoolTaskExecutor    stackoverflow.com

A set of tasks (varied in functionality) in my application need to be performed asynchronously, and may be pooled. Looks like Spring's ThreadPoolTaskExecutor is what I can use to get such an ...

4. How to decide configuration of ThreadPoolTaskExecutor?    forum.springsource.org

How to decide configuration of ThreadPoolTaskExecutor? I am using Spring's ThreadPoolTaskExecutor for enabling pool of threads to process requests. The flow is a timer runs and queries database to pick up ...

5. Looking for ThreadPoolTaskExecutor examples    forum.springsource.org

I found Rob's PPT on Scheduling and Eexcuting, and wondered where I might find the example code that goes with it, or any example code for using the ThreadPoolTaskExecutor. Anyone used ...

6. ThreadPoolTaskExecutor queue problem    forum.springsource.org

ThreadPoolTaskExecutor queue problem hey, I have create a threadpool task executor. Now each time i execute this task i get a rejectedExecutionException. The last part (bottom of message) i execute it ...

7. TaskExecutorRepeatTemplate/ThreadPoolTaskExecutor: Threads hung if misconfigured    forum.springsource.org

TaskExecutorRepeatTemplate/ThreadPoolTaskExecutor: Threads hung if misconfigured I just wanted to post a problem and a solution to a problem / misconfiguration-related issue with the TaskExecutorRepeatTemplate, or actually the underlying ThreadPoolTaskExecutor. If the ...

8. ThreadPoolTaskExecutor implements Executor but not ExecutorService    forum.springsource.org

ThreadPoolTaskExecutor implements Executor but not ExecutorService Hi all, The other day I was using org.springframework.scheduling.concurrent.ThreadPo olTaskExecutor as a Spring entry point to java.util.concurrent. This class "allows for configuring a JDK 1.5 ...

9. Problem with the ThreadPoolTaskExecutor    forum.springsource.org

Problem with the ThreadPoolTaskExecutor Hi, I have a requirement where in i have to copy the data from one datasource to another datasource. So i have a step which has JdbcCursorItemReader ...





10. ThreadPoolTaskExecutor config    forum.springsource.org

11. ThreadPoolTaskExecutor    forum.springsource.org

12. ConcurrentModException in ThreadPoolTaskExecutor    forum.springsource.org

I have a ThreadPoolTaskExecutor with maxPoolSize = 1. I got a concurrent modification exception from that thread, which appeared when I tried to call a hibernatesupport based dao saveorupdate. how can ...

13. ThreadPoolTaskExecutor shutdown using waitForTasksToCompleteOnShutdown=true    forum.springsource.org

ThreadPoolTaskExecutor shutdown using waitForTasksToCompleteOnShutdown=true Hello everybody, I'm currently having trouble with the reliability of the ThreadPoolTaskExecutor shutdown when using waitForTasksToCompleteOnShutdown=true When I shutdown my Tomcat when I still have messages in ...

14. Setting rejectedExecutionHandler on ThreadPoolTaskExecutor    forum.springsource.org

Setting rejectedExecutionHandler on ThreadPoolTaskExecutor I'm trying to set the rejectExecutionHandler on the ThreadPoolTaskExecutor bean with: The resulting error is: Caused ...

15. ThreadPoolTaskExecutor isShutdown()    forum.springsource.org

Hey Spring Crowd, ThreadPoolTaskExecutor does not have a reference to its internal "ThreadPoolExecutor", and missing a "ThreadPoolExecutor.isShutdown()" wrapper method. I am using Java 5, so I can use "java.util.concurrent.ThreadPoolExecutor" directly. However ...

16. ThreadPoolTaskExecutor and clustering with tomcat    forum.springsource.org

ThreadPoolTaskExecutor and clustering with tomcat Hey all - pulling my hair out a bit here. I am running Spring atop tomcat 6 and am using ThreadPoolTaskExecutors in some places. As soon ...





17. ThreadPoolTaskExecutor - wait until all tasks are finshed    forum.springsource.org

Hi, I use a ThreadPoolTaskExecutor to process some tasks in parallel. After submitting all tasks to the pool I have to wait until all tasks are finshed, something like Thread#join(). How ...

18. [ThreadPoolTaskExecutor] possibility to define my own Executor?    forum.springsource.org

Hi, i would like to inject my custom executor that is extending ThreadPoolExecutor in this class : TheadPoolTaskExecutor. But the problem is that the instantiation of the pool executor is hardcoded ...

19. Max pool size in ThreadPoolTaskExecutor    forum.springsource.org

Max pool size in ThreadPoolTaskExecutor I'm defining my thread pool with the following lines in my application context: ...