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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
|
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 ... |
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 ... |
|
|
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 ... |
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 ... |
Setting rejectedExecutionHandler on ThreadPoolTaskExecutor I'm trying to set the rejectExecutionHandler on the ThreadPoolTaskExecutor bean with: The resulting error is: Caused ... |
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 ... |
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 ... |
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 ... |
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 ... |
Max pool size in ThreadPoolTaskExecutor I'm defining my thread pool with the following lines in my application context: ... |