Details
-
Bug
-
Resolution: Done
-
Major
-
7.14.0.Final
-
None
-
1
-
NEW
-
NEW
-
2018 Week 48-50
Description
I have modified 03-tutorial-handler-listener-business-application to include an AgendaEventListener to report what rules are fired:
@Component
public class MyAgendaEventListener extends DefaultAgendaEventListener {
@Override
public void afterMatchFired(AfterMatchFiredEvent event)
}
It is almost identical to the included MyProcessEventListener example.
I have added some rules that definitely get fired, but MyAgendaEventListener is not been called!
This class is a Spring component (same like MyProcessEventListener) and I can confirm that it gets instantiated when the business application starts up. However, the Spring auto registration doesn't seem to work for the AgendaEventListener.