Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在两个不同的 xml 中定义了两个工作。说工作 A 和工作 B。我需要在成功完成工作 A 后致电工作 B。这样做的最佳方法是什么。我对 spring-batch 很陌生,所以正在寻找处理这个问题的最佳方法。
您可以创建一个超级作业并执行您的作业 A 和作业 B 作为此超级作业中的步骤,指定作业 B 应在作业 A 成功完成后执行