tomkerigan
Sep 13th, 2007, 05:00 PM
I realize that most people will use Spring Batch for "after hours" processing, stuff that can take its time because it isn't interactive or run during business hours.
That being said, I need to write some code for an OLTP system that has several hundred I/O calls (read-only JDBC & JMS), all of which must eventually succeed in order for this overall function to be a success. On the occasion that one of the I/Os fails, I'd like to be able to checkpoint the previous set of I/Os that have already completed successfully and take it from there. I'd also like to be able to do some of this stuff in parallel.
I know that this is doable in Spring Batch, however, I'm wondering if it's advisable to use it in such an interactive manner.
Thoughts?
That being said, I need to write some code for an OLTP system that has several hundred I/O calls (read-only JDBC & JMS), all of which must eventually succeed in order for this overall function to be a success. On the occasion that one of the I/Os fails, I'd like to be able to checkpoint the previous set of I/Os that have already completed successfully and take it from there. I'd also like to be able to do some of this stuff in parallel.
I know that this is doable in Spring Batch, however, I'm wondering if it's advisable to use it in such an interactive manner.
Thoughts?