Annotated EJB timers are included in the collection of timers if TimerService.getTimers() is used

Solution Verified - Updated -

Issue

  • If TimerService.getTimers() is used to delete all timers it will include all timers which are created by annotation for this bean. Is it possible to avoid this?
  • If all timers should be deleted for a bean and getTimers() is used the annotated timers are also deleted, is this a bug? Or how to check this?
  • Is it possible to distinguish between ejb timer which are created by annotation or programatical during runtime?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
  • Java EE

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content