Dec 14th, 2009, 02:23 PM
RetryContext interfered between different jobs
I configured two jobs running in the same container, both need to retry the file downloading tasklet if the file is not available. But it seems like the two retry contexts are interfered each other even though I use SimpleAsyncTaskExecutor. Both jobs kept retrying after the max attempt was reached.
Dec 14th, 2009, 07:06 PM
it's my bad...
I imported the aop config in each job's config file. It ended up applying the advisor twice. That's why it kept retrying for a while.