This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
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.