I have two different processes (A and B), and A should start after B, B should not join transaction A, B should wait until A completes the commit.
What distribution should I use?
Now it looks like:
@Transactional
A()
and
@Transactional
B()
Now I am using defult @Transactional and it is not working properly. I think I should use SPREAD .
Hope this question is clear. Thanks in advance.
source
share