Can you define the step order in the spring-batch dynamically? -


i don't speak english well. please understand.

i use spring-boot , spring-batch. continues project.

i know beans related batch while beans go server days same time go together.

it defined a->b->c. if case.

is there way in change b->a->c type , can put practice?

by using jobexecutiondecider, going way step increases, problem coding range expanded predicted.

when there stepa, stepb, , stepc example. a->b->c, a->c->b, b->a->c, b->c->a, c->a->b, c->b->a number of 3!(=6) if happen , hanger.

.start(decider).on("a").to(stepa()) .next(decider).on("b").to(stepb()).next(stepc()).end() .from(decider).on("c").to(stepc()).next(stepb()).end() .from(decider).on("b").to(stepb()) ..... ..... 

should describe case of 3!(=6) in way? more if happens, number of step increases, increase exponential...

doesn't have better way?


Comments