Hey guys,

I think we found a bug in tomee 7.0.x (possibly others). If you have a
scheduled @Timer, and the bean has @Interceptors around it, those
interceptors are not called when the timer fires.

According to: https://docs.oracle.com/javaee/6/tutorial/doc/gkedm.html using
@Interceptors is allowed:

> Multiple timeout interceptors may be defined for a given target class by
> specifying the interceptor classes containing @AroundTimeout interceptor
> methods in an @Interceptors annotation at the class level.


I wrote a project here to demostrate:
https://github.com/exabrial/tomee-timer-interceptors

Examine the source code, then run mvn clean package tomee:run to reproduce
the issue.

Thanks,
-Jonathan




--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Reply via email to