-
Jan 21st, 2013, 04:58 AM
#1
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 at 09:13 PM.
-
Jan 23rd, 2013, 09:30 AM
#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!
-
Jan 27th, 2013, 03:34 AM
#3
Thanks mminella! The xml configuration has to be added, and a parser just needs to get adjusted to use the setter.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules