If you use static classes and interfaces for consumers and producers in the same .java file, you get infinite method recursion during scanning.
I was trying to build a kitchen sink example, so wanted everything in one file, but had to separate: https://github.com/droolsjbpm/drools/blob/57a1128eda8a63b1740eec3d7c71a11b8d69ea8e/drools-compiler/src/main/java/org/drools/cdi/KieCDIExtension.java
If you use static classes and interfaces for consumers and producers in the same .java file, you get infinite method recursion during scanning.
I was trying to build a kitchen sink example, so wanted everything in one file, but had to separate:
https://github.com/droolsjbpm/drools/blob/57a1128eda8a63b1740eec3d7c71a11b8d69ea8e/drools-compiler/src/main/java/org/drools/cdi/KieCDIExtension.java