Welcome to the new Spring.io forums!
If this is your first visit, be sure to check out the
by clicking the link above, and for security reasons, use the
forgot password link to reset your password..
You may have to register before you can post: click the register
link above to proceed. To start viewing messages, select the forum that you want to visit
from the selection below.
You can get a quick read out by looking at the stack inside the repository call (with retry interceptor configured). Use a debugger or throw an exception. You will see from the stack the order of the interceptors. If the order is wrong we can try and fix it, but I have a feeling it will be OK.
So the wrapper would check TransactionSynchronizationManager.isActualTransact ionActive() , if true proceed, else handle it to RetryInterceptor.
That's the idea. Thanks for trying this and being patient. If it works it will be potentially valuable for others.