I'm debugging through some code that binds two different interceptors to
the same annotation.  I'm finding that under high load and high concurrency
one of the interceptors isn't always visited.  Just to make it a bit
messier, the annotation being bound multiple times is Transactional.class
in guice-persist.

Sample binding code:

TransactionInterceptor1 interceptor1 = new TransactionInterceptor1();
requestInjection(interceptor1);
bindInterceptor(any(), annotatedWith(Transactional.class), interceptor1);

then, in PersistModule:

bindInterceptor(any(), annotatedWith(Transactional.class),
getTransactionInterceptor());

I couldn't find any documentation or posts out on the Internets that speak
to this setup.  Does this jog anyone's brain as to what's going on with
this setup?

Thanks,
Bobby

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/CAMBZqfD1aUhtZpmSO7VxRm_tXnZpbjYN%3DcvW5%2BPA5xYw6S%3DdQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to