-
Feb 26th, 2012, 10:27 AM
#1
Maintain State in between reads
I am doing this POC and plan to use Spring batch for some response jobs via MQ via Spring integration. The response jobs will be triggered via a command message in MQ.
Now it a a XML document which has some nodes in them with their attributes. What I need to do is do some calculation like summing up all the dollar amount number of occurrences of a particular node and write it to a footer.
I already know that I will be using the Footer Call back but how do I aggregate those information which I have already looped through. Where would be the best place to maintain that state ..again taking care of any unforeseen multi threading issues ?
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