English 中文(简体)
有条件 Execution Execution Execution Spring Spring
原标题:Can Conditional Execution or another technique drive the parameter values of another ItemReader in Spring Batch?

我的理解是,Punt Batch有一个有条件的处决,可以加以配置,根据目前步骤的实际情况决定下一步应采取哪些步骤。

  1. 如果我想要我的春敏巴特奇工作,那么我用什么来决定一个参数在我在项目Reader中为之设置的提问中的价值?

  2. 还是春 Bat的“强力”框架会让我有一位加工商和一位撰写人来进行初步的问答?

如果对第二个问题的答复是es,如何处理?

最佳回答

非常容易的是,你可以使用

To get the values from the first step to the latter, you can use late-binding of job/step attributes, see this stackoverflow question for interstep communication too.

就“正常”步骤而言,项目审批人和项目审批人都是任择的。

问题回答

暂无回答




相关问题
Spring batch JMS writer/reader example

Anybody know of a good resource for a detailed (more so than the Spring Batch docs) look at the uses of JMS Item Writer/Reader in Spring Batch? Specifically, and because I m being tasked with trying ...

Ways to reduce memory churn

Background I have a Spring batch program that reads a file (example file I am working with is ~ 4 GB in size), does a small amount of processing on the file, and then writes it off to an Oracle ...

How to set up multi-threading in Spring Batch?

I ve successfully set up a tutorial Spring Batch project. I d really like to know if it s possible to make it multi-threaded at the "Spring level". The basic idea of what I want is to make a list ...

Spring Batch resourceless JobRepository

I m using Spring Batch for a system that does a lot of batch operations. I m using SimpleJobRepository with in memory DAOs. I would like to know if there is a way to avoid using a JobRepository? ...

热门标签