Announcement Announcement Module
Collapse
No announcement yet.
StepInterruptionPolicy questions Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • StepInterruptionPolicy questions

    Hello.

    How can I set the StepInterruptionPolicy in the TaskletStep using XML? Do we have to do use the bean tag for this one to use the setInterruptionPolicy? Or some factory method invoker? Or is there a better way to do this?

    Thanks!
    Last edited by kenston; Jan 21st, 2013, 10:13 PM.

  • #2
    While the framework has the concept of a StepInterruptionPolicy, there actually isn't a way to inject it. I tried using a parent step with no luck. I've opened a Jira issue to address this. You can track it here: https://jira.springsource.org/browse/BATCH-1953. As always, contributions are appreciated!

    Comment


    • #3
      Thanks mminella! The xml configuration has to be added, and a parser just needs to get adjusted to use the setter.

      Comment

      Working...
      X