java - Spring batch doesn't execute flow in parallel mode. -
The spring batch does not execute the flow in parallel mode. What am i doing
& lt; Split id = "preprocessingStep" next = "decompress" & gt; & Lt; Flow & gt; & Lt; Step ID = "Step 11" Next = "Step 22" & gt; & Lt; Task ref = "my 1" /> & Lt; / Step & gt; & Lt; Step id = "step 22" & gt; & Lt; Tasklet Ref = "My2" /> & Lt; / Step & gt; & Lt; / Flow & gt; & Lt; Flow & gt; & Lt; Step id = "step 33" & gt; & Lt; Task ref = "my 3" /> & Lt; / Step & gt; & Lt; / Flow & gt; & Lt; / Split & gt;
I think this is because you use a one-thread work executor Are there. & lt; Bean id = "taskExecutor" class = "org.springframework.core.task.SimpleAsyncTaskExecutor" and In your config
Comments
Post a Comment