Wow, that's right but I attach listener like in documentation:
SystemEventListener systemEventListener = org.drools.SystemEventListenerFactory.getSystemEventListener();
Exacly in my case in Spring way:
<bean id="systemEventListener"
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="staticMethod">
<value>org.drools.SystemEventListenerFactory.getSystemEventListener</value>
</property>
</bean>
In debug I can see that systemEventListener is org.drools.core.util.DelegatingSystemEventListener and has listener property org.drools.agent.impl.DoNothingSystemEventListener so DoNothing is not what I want to attach :-)
How can I get right listener?