Hi
I have a bean(say SampleTxnSupportBean) which is retrieved from the TransactionProxyFactory to provide Transaction support for its Methods( sampleMethodOne, sampleMethodTwo and sampleMethodThree).
I also have a pre-interceptor(methodnamematcher) which based on certain information in the methods will invoke a different method.
For exl. if sampleMethodOne is invoked, the pre-interceptor will check the param information and decide to call either sampleMethodTwo or sampleMethodThree.
This works fine except once the sampleMethodTwo is called the Transaction control is no longer applicable, it could be due to the fact that once inside the interceptor no other interceptor will get recognized on that method, in this case since it is already inside TxnInterceptor for sampleMethodOne , it won't get invoked again for sampleMethodTwo if it is invoked in the preinterceptor.
is my perception correct ? how can i overcome this issue?
Thanks


Reply With Quote
