Standing Instruction Execution in a Batch Process in different streams
<p>To answer this question needs a bit of Banking knowledge :</p>

<p>Say I had setup SI from account a1->a2 and a2->a3
These are only two instructions, which needs to be processed in a batch.
But I want that these two instructions will be processed in two different streams.</p>

<p>Which is not possible, as the account a2 is locked in stream 1 and cannot be processed in stream 2, till the stream 1 finished its processing.</p>

<p>A work around to this problem:
Either I execute all SI's in one stream or I identify the dependency of instructions and put these instructions into stream accordingly.</p>

<p>Or is there any other way around to work on this.</p>

<p>I am using Java and Hibernate.</p>
