I am using the ExecutionContext for 2 purposes:
1) Storing values for restarting a tasklet step
2) Storing job output (I simply add MSG[xxxx] messages to the ExecutionContext)
This strategy works fine when the job doesn't crash. But when I have to restart the job, I would like a way to remove the MSG[xxxx] entries from the old run - eg. an ExecutionContext.remove() method.
Would it be posible to add such a method, or is there another simple way to return the job output without using the ExecutionContext?